Mercurial > hg > forks > geeqie
changeset 2914:ea342d5f9d14
Fix #663: Use grammatically correct month names in pan view
https://github.com/BestImageViewer/geeqie/issues/663
author | Tomasz Goliński <tomaszg@math.uwb.edu.pl> |
---|---|
date | Mon, 01 Apr 2019 11:56:36 +0100 |
parents | a1ed644315cb |
children | 8536c3a680ea |
files | src/pan-view/pan-util.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pan-view/pan-util.c Sun Mar 31 11:28:34 2019 +0100 +++ b/src/pan-view/pan-util.c Mon Apr 01 11:56:36 2019 +0100 @@ -99,7 +99,11 @@ 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);