2009/6/23 Dotan Cohen <dotanco...@gmail.com>: >> 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?
Set English in Denmark (en_DK.UTF-8) as your LC_TIME. Obviously something like jp_JP would also do it, but then you would get Japanese month names, etc. Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org