[bugs] [illumos gate - Bug #1030] (Resolved) strftime "%x" should generate something strptime can parse

illumos bugs bugs at lists.illumos.org
Mon Jul 11 13:36:07 PDT 2011


Issue #1030 has been updated by Gordon Ross.

Status changed from In Progress to Resolved

<pre>
changeset:   13398:fa0b6e3a91f5
tag:         tip
user:        Gordon Ross <gwr at nexenta.com>
date:        Mon Jul 11 16:32:19 2011 -0400
description:
	1030 strftime "%x" should generate something strptime can parse
	Reviewed by: Garrett D'Amore <garrett at nexenta.com>
	Reviewed by: Gary Mills <mills at cc.umanitoba.ca>
	Reviewed by: Igor Kozhukhov <ikozhukhov at gmail.com>
	Approved by: Garrett D'Amore <garrett at nexenta.com>
</pre>

----------------------------------------
Bug #1030: strftime "%x" should generate something strptime can parse
https://www.illumos.org/issues/1030

Author: Gordon Ross
Status: Resolved
Priority: Normal
Assignee: Gordon Ross
Category: locale - data and messages
Target version: 
Difficulty: Medium
Tags: needs-triage


LANG=en_US.UTF-8 date '+%x'
has wrong output in the first 9 days of the month:
<pre>
$ date '+%x'
05/ 6/11
</pre>
(Note the space before the numeral six)

This breaks programs.  For example, it prevents Evolution from
creating a calendar appointment.

The problem is that strftime generates something that strptime can not parse.



-- 
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