[gthumb/gthumb-3-2] web album: use a better default date format



commit 0d21b58a3263090297d53d50b5eba01967f7db00
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 05e7999..45f5d17 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]