projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652337f
)
Fix #663: Use grammatically correct month names in pan view
author
Tomasz Goliński
<tomaszg@math.uwb.edu.pl>
Mon, 1 Apr 2019 10:56:36 +0000
(11:56 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Mon, 1 Apr 2019 10:56:36 +0000
(11:56 +0100)
https://github.com/BestImageViewer/geeqie/issues/663
src/pan-view/pan-util.c
patch
|
blob
|
history
diff --git
a/src/pan-view/pan-util.c
b/src/pan-view/pan-util.c
index
14eb238
..
3fd5cc8
100644
(file)
--- a/
src/pan-view/pan-util.c
+++ b/
src/pan-view/pan-util.c
@@
-99,7
+99,11
@@
gchar *pan_date_value_string(time_t d, PanDateLengthType length)
format = "%A %e";
break;
case PAN_DATE_LENGTH_MONTH:
+#if __GLIBC_PREREQ(2, 27)
+ format = "%OB %Y";
+#else
format = "%B %Y";
+#endif
break;
case PAN_DATE_LENGTH_YEAR:
return g_strdup_printf("%d", td.tm_year + 1900);