[bugs] [illumos gate - Bug #1198] date formats contain spaces where not expected
illumos bugs
bugs at lists.illumos.org
Mon Jul 11 13:43:15 PDT 2011
Issue #1198 has been updated by Gordon Ross.
Here are some more observations from
Gary Mills (sent to developers at illumos.org)
I kept wondering why I've never seen this problem.
This is Solaris 10, where we're still using 8859 locales:
<pre>
$ env LC_TIME=en_CA.ISO8859-1 date +%x
02/07/11
$ env LC_TIME=en_US.ISO8859-1 date +%x
07/02/11
</pre>
This is Solaris 11 Express:
<pre>
$ env LC_TIME="en_CA.UTF-8" date +%x
07/02/11
$ env LC_TIME="en_US.UTF-8" date +%x
07/ 2/11
</pre>
This is OI 148:
<pre>
$ env LC_TIME="en_CA.UTF-8" date +%x
11-07-02
$ env LC_TIME="en_US.UTF-8" date +%x
07/ 2/11
</pre>
----------------------------------------
Bug #1198: date formats contain spaces where not expected
https://www.illumos.org/issues/1198
Author: Gordon Ross
Status: New
Priority: Low
Assignee: Gordon Ross
Category: locale - data and messages
Target version:
Difficulty: Medium
Tags: needs-triage
LANG=en_US.UTF-8 date '+%x'
has unexpected form in the first 9 days of the month:
<pre>
$ date '+%x'
05/ 6/11
</pre>
(Note the space before the numeral six)
The older 8859 did not do that.
This also used to break strptime, but that's fixed.
(https://www.illumos.org/issues/1030)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the bugs
mailing list