This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] en_US: define date_fmt (bug 24046)


31.12.2018 12:07 Aurelien Jarno <aurelien@aurel32.net> wrote:
> 
> [...]
> I don't think this has been a deliberated choice. Support for date_fmt
> (which is a GNU extension), has been added back in 2000 in commit
> d8337213c8. At that time all locales got date_fmt set to the default
> setting, and later locales got this value updated through the years.
> This has never been done for the US locale. Then in commit 2e7a461328
> all locales with the default value got this field removed.

Thank you for this research.  There are many locales which don't have
date_fmt defined which means they use the default value from C locale:
"%a %b %e %H:%M:%S %Z %Y".  This is bad for many of them because this
assumes the date order is MDY which is not the most popular order
around the world.  I did not yet have time to file a bug report and/or
fix it, anybody feel free to do it.

> [...]
> > I wonder whether our users expect such a change.
> 
> At least a few users, but I agree it's difficult to know for the
> majority of users.

I think we had sufficient confirmations here.

Regards,

Rafal


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]