Subject: strftime %X control: how?
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 07/05/2007 14:03:21
Normally I run with nothing locale-specific in my environment, which I
think means I get the C locale.
But this means that atq prints dates as xx/xx/xx, which is horrible. I
want standard ISO date format, but I otherwise want what I have now.
My question is, how can I get this?
After a little digging, it appears to me that I need to set $LC_TIME,
but I haven't found any clue what to set it to. Am I missing
something, or is there just no way to get standard dates out of %X at
present?
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B