Request locale for ISO 8601 date.

Oleksandr Gavenko gavenkoa@gmail.com
Thu Sep 1 17:19:00 GMT 2011


  $ for l in `locale -a`; do echo $l `LC_TIME=$l date`; done | tee .dat
  $ grep -E '[[:digit:]]+-[[:digit:]]+-[[:digit:]]+ 
+[[:digit:]]+:[[:digit:]]+:[[:digit:]]+' <.dat
sq_AL 2011-09-01 8:14:09.MD
sq_AL.utf8 2011-09-01 8:14:09.MD

but this is not ISO 8601 as '.MD' component present...

Usually 'LC_TIME' set to 'en_DK' to get ISO 8601 time format
but Cygwin miss this locale.

It is possible install locale to get ISO 8601 date formatting?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list