This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] en_US: define date_fmt (bug 24046)
On 2018-12-31 12:11, Florian Weimer wrote:
> * Aurelien Jarno:
>
> >> Is there any system which uses 12h format with the date command?
> >
> > Yes, the following locale use a 12h format with the date command:
> > aa_DJ aa_ER aa_ET am_ET az_IR byn_ER el_CY el_GR fa_IR gez_ER gez_ET
> > ku_TR lzh_TW om_ET om_KE sid_ET so_DJ so_ET so_KE so_SO ti_ER ti_ET
> > tig_ER uz_UZ wal_ET
>
> Sorry, I meant other UNIX-like systems that use 12h format by defaul,
> without any specific locale selection.
I don't think that's the case. UNIX-like systems are supposed to follow
POSIX, and "%X" and "%c" are defined in 24h format without locale
selection.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net