[gthumb] web album: use a better default date format
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] web album: use a better default date format
- Date: Sun, 13 Apr 2014 09:21:46 +0000 (UTC)
commit 5716e9ace1594eb20d5ab65314a4c651c1803e69
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Apr 13 11:17:27 2014 +0200
web album: use a better default date format
extensions/webalbums/gth-web-exporter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/webalbums/gth-web-exporter.c b/extensions/webalbums/gth-web-exporter.c
index 534ce02..37b8a6c 100644
--- a/extensions/webalbums/gth-web-exporter.c
+++ b/extensions/webalbums/gth-web-exporter.c
@@ -1035,6 +1035,8 @@ header_footer_eval_cb (const GMatchInfo *match_info,
a = g_regex_split (re, match, 0);
if (g_strv_length (a) >= 2)
format = g_strstrip (a[1]);
+ else
+ format = DEFAULT_DATE_FORMAT;
r = _g_time_val_strftime (&timeval, format);
g_strfreev (a);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]