This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Request locale for ISO 8601 date.


$ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]