Re: Show me locale fomats
> Normally you don't need to know. You use strptime(3) to print the
> date and/or time. For example, strptime("%c", ...). The manual
> page will give you the detail.
>
> To get the format string, do:
> locale -k d_fmt
> d_fmt="%d/%m/%y"
> (en_GB)
>
> A list of keywords is found in locale(5).
>
I see, thanks. Other than changing my locale to a foreign locale
(well, ok, US is a foreign locale for me but there is a reason that I
keep it), is there a way to configure yyyy-mm-dd date format?
Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
Reply to: