projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #663: Use grammatically correct month names in pan view
[geeqie.git]
/
src
/
pan-view
/
pan-util.c
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);