bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6453: coreutils: date -- Add new options for ISO 8601 date formats (


From: Eric Blake
Subject: bug#6453: coreutils: date -- Add new options for ISO 8601 date formats (-O)
Date: Fri, 18 Jun 2010 11:43:16 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

[let's keep the list/bug-tracker in the loop]

On 06/18/2010 11:31 AM, jari wrote:
> On 2010-06-18 08:58, Eric Blake wrote:
> | > I'd like to suggest adding options to cover the typical ISO 8601 dates.
> | 
> | Nope, O is already occupied per POSIX:
> 
> Ok.
> 
> | common RFC layouts, it may make sense to add a new command-line option
> | --iso-8601=TIMESPEC as shortcuts for building common ISO layouts.
> 
> That's even better and more straightforward as we need not to remember
> various % flags. 
> 
> Nice to know that the feature is considered to be included.

So, before anyone writes such a patch, what TIMESPEC options do you
propose would make the most sense for a new --iso-8601 command-line
option?  And, seeing that RFC 3339 was derived from ISO 8601, do we even
need a new option, or is the existing behavior already present?  In
other words, I'd still like to know what particular shortcuts you feel
are worth adding.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]