This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Request locale for ISO 8601 date.
- From: Oleksandr Gavenko <gavenkoa at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 01 Sep 2011 20:18:46 +0300
- Subject: 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