Created attachment 368402 [details, diff] nl_NL.patch I'd like to share a patch which corrects the wrong formatted date for nl_NL* locale settings. In the Netherlands we say & write the full date like: wo 1 jan 2014 8:59:59 CET (%a %e %b %Y %k:%M:%S %Z) Currently, when a locale setting like LC_TIME=nl_NL.UTF-8 is active, `date` outputs: wo jan 1 08:59:59 CET 2014 (%a %b %e %H:%M:%S %Z %Y) which is totally wrong! This patch corrects this locale issue. Note: I already use this patch for years without any issue. I'm aware there might exist some braindead scripts which awk fields out of date instead of using % format controls. However, I can't imagine that whould be any issue since braindead scripts like that (should be) run in an en_US* or C locale environment anyway. For people who like to apply this patch directly to /usr/share/i18n/locales/nl_NL, remember to run locale-gen afterwards for it to be effective, so: # patch -p3 -d /usr/share/i18n/locales < nl_NL.patch ; locale-gen ; date
sorry, but all locale fixes have to go through upstream: https://sourceware.org/bugzilla/enter_bug.cgi?product=glibc
Fair enough although I think it would be nice if Gentoo would be the first to finally show the date as it should be ;) Anyway, thanks for the link!
Upstream report https://sourceware.org/bugzilla/show_bug.cgi?id=16495
Fixed in glibc-2.23