GNU logs - #6453, boring messages


Message sent to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#6453: coreutils: date -- Add new options for ISO 8601 date formats (-O)
Resent-From: Jari Aalto <jari.aalto@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Fri, 18 Jun 2010 07:58:01 +0000
Resent-Message-ID: <handler.6453.B.12768478271698 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 6453
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 6453 <at> debbugs.gnu.org
X-Debbugs-Original-To: submit <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.12768478271698
          (code B ref -1); Fri, 18 Jun 2010 07:58:01 +0000
Received: (at submit) by debbugs.gnu.org; 18 Jun 2010 07:57:07 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OPWRl-0000RK-As
	for submit <at> debbugs.gnu.org; Fri, 18 Jun 2010 03:57:06 -0400
Received: from emh01.mail.saunalahti.fi ([62.142.5.107])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jari.aalto@HIDDEN>) id 1OPWDp-0000Jv-Qw
	for submit <at> debbugs.gnu.org; Fri, 18 Jun 2010 03:42:43 -0400
Received: from saunalahti-vams (vs3-11.mail.saunalahti.fi [62.142.5.95])
	by emh01-2.mail.saunalahti.fi (Postfix) with SMTP id A4CF88C62F;
	Fri, 18 Jun 2010 10:42:37 +0300 (EEST)
Received: from emh02.mail.saunalahti.fi ([62.142.5.108])
	by vs3-11.mail.saunalahti.fi ([62.142.5.95])
	with SMTP (gateway) id A0635CA05EE; Fri, 18 Jun 2010 10:42:37 +0300
Received: from picasso.cante.net (a91-155-187-216.elisa-laajakaista.fi
	[91.155.187.216])
	by emh02.mail.saunalahti.fi (Postfix) with ESMTP id 2D5282BD45;
	Fri, 18 Jun 2010 10:42:34 +0300 (EEST)
From: Jari Aalto <jari.aalto@HIDDEN>
Date: Fri, 18 Jun 2010 10:42:34 +0300
Message-ID: <871vc4u6qd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Antivirus: VAMS
X-Spam-Score: 0.0 (/)
X-Mailman-Approved-At: Fri, 18 Jun 2010 03:57:04 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.3 (-)

Package: coreutils
Version: 8.5
Severity: wishlist


I'd like to suggest adding options to cover the typical ISO 8601 dates.
The options "O" seems to be free in date(1) manual page. Suggestions:

    -O      YYYY-MM-DD HH:MM        (possibly most of then used)
    -O::S   YYYY-MM-DD HH:MM:SS
    -O::T   YYYY-MM-DD"T"HH:MM:SS   (The canonical form)

The output can be produced using current option set:

    %Y-%m-%d	1999-12-31
    %Y-%j	1999-365
    %G-W%V-%u	1999-W52-5
    %H:%M:%S	23:59:59

but it would be nice to have a standrd "-O" option set specifically
designed from ISO dates.

Jari

References:

    Standard - Date - ISO 9601 (Markus Kuhn)
    http://www.cl.cam.ac.uk/~mgk25/iso-time.html

    Standard - Date - ISO 8601 (Wikipedia)
    http://en.wikipedia.org/wiki/ISO_8601




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Jari Aalto <jari.aalto@HIDDEN>
Subject: bug#6453: Acknowledgement (coreutils: date -- Add new options for
 ISO 8601 date formats (-O))
Message-ID: <handler.6453.B.12768478271698.ack <at> debbugs.gnu.org>
References: <871vc4u6qd.fsf@HIDDEN>
X-Gnu-PR-Message: ack 6453
X-Gnu-PR-Package: coreutils
Reply-To: 6453 <at> debbugs.gnu.org
Date: Fri, 18 Jun 2010 07:58:01 +0000

Thank you for filing a new bug report with GNU.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-coreutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 6453 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
6453: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6453
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#6453: coreutils: date -- Add new options for ISO 8601 date formats (-O)
Resent-From: Eric Blake <eblake@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Fri, 18 Jun 2010 15:00:04 +0000
Resent-Message-ID: <handler.6453.B6453.127687314815974 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 6453
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: Jari Aalto <jari.aalto@HIDDEN>
Cc: 6453 <at> debbugs.gnu.org
Received: via spool by 6453-submit <at> debbugs.gnu.org id=B6453.127687314815974
          (code B ref 6453); Fri, 18 Jun 2010 15:00:04 +0000
Received: (at 6453) by debbugs.gnu.org; 18 Jun 2010 14:59:08 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OPd2B-00049b-U8
	for submit <at> debbugs.gnu.org; Fri, 18 Jun 2010 10:59:08 -0400
Received: from mx1.redhat.com ([209.132.183.28])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <eblake@HIDDEN>) id 1OPd29-00049D-EK
	for 6453 <at> debbugs.gnu.org; Fri, 18 Jun 2010 10:59:07 -0400
Received: from int-mx08.intmail.prod.int.phx2.redhat.com
	(int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21])
	by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5IEwxmp010179
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 18 Jun 2010 10:58:59 -0400
Received: from [10.3.225.192] (vpn-225-192.phx2.redhat.com [10.3.225.192])
	by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id o5IEww8U021753; Fri, 18 Jun 2010 10:58:58 -0400
Message-ID: <4C1B8978.7040503@HIDDEN>
Date: Fri, 18 Jun 2010 08:58:00 -0600
From: Eric Blake <eblake@HIDDEN>
Organization: Red Hat
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
MIME-Version: 1.0
References: <871vc4u6qd.fsf@HIDDEN>
In-Reply-To: <871vc4u6qd.fsf@HIDDEN>
X-Enigmail-Version: 1.0.1
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig0ED30159E5510FB9414B1EE2"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21
X-Spam-Score: -10.1 (----------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -10.1 (----------)

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0ED30159E5510FB9414B1EE2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 06/18/2010 01:42 AM, Jari Aalto wrote:
> Package: coreutils
> Version: 8.5
> Severity: wishlist
>=20
>=20
> I'd like to suggest adding options to cover the typical ISO 8601 dates.=

> The options "O" seems to be free in date(1) manual page. Suggestions:

Nope, O is already occupied per POSIX:
http://www.opengroup.org/onlinepubs/9699919799/utilities/date.html
For example, %Oe uses different numbers than %e in some locales.
And it is documented in 'date --help' (and therefore the date man page),
under the sentence: O to use the locale's alternate numeric symbols if
available.

> The output can be produced using current option set:
>=20
>     %Y-%m-%d	1999-12-31
>     %Y-%j	1999-365
>     %G-W%V-%u	1999-W52-5
>     %H:%M:%S	23:59:59

Unfortunately, it seems like building the ISO formats from their
components will be be best we can do, as adding % extensions is very
difficult to justify.  However, given that we already have --rfc=3D2822
and --rfc-3339=3DTIMESPEC options that provide shortcuts for building
common RFC layouts, it may make sense to add a new command-line option
--iso-8601=3DTIMESPEC as shortcuts for building common ISO layouts.

> References:
>=20
>     Standard - Date - ISO 9601 (Markus Kuhn)

Did you mean 8601?

--=20
Eric Blake   eblake@HIDDEN    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig0ED30159E5510FB9414B1EE2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMG4l4AAoJEKeha0olJ0NqbEQIALCUdnSF6Fi3wQcgdvYmzMZt
VHsEsCI7UK0vYx85vEUkdxA3wQdYO4Bh/vgEqfNz3sh6tknBj06bJADiPkwIr546
C3XcZh+y8VgXH6lnMLDCEpxZQ8SoJj39YhYxw1LVXvMBZJMRxqZlIIdvrbpok2rb
qPdYNBmCVldW7XiwdT4R+guCc6GJ4gvvtkeNYFBXzs6Ka5lBiZYpJj1hOUNHdgdO
7OmjGJ11YsBjTyKJoHnEz2o8lu68YsiR/yzkmXbZjubszwgUYLjonv+V7MkfG1ra
Q6OY31GegcyZVuDLoo1uGxSq7zWbS6uUcDq8nYg8qR3RpCDonrVN6Cd/YcGY5CU=
=v7hX
-----END PGP SIGNATURE-----

--------------enig0ED30159E5510FB9414B1EE2--




Message sent to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#6453: coreutils: date -- Add new options for ISO 8601 date formats (-O)
Resent-From: Eric Blake <eblake@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Fri, 18 Jun 2010 17:45:02 +0000
Resent-Message-ID: <handler.6453.B6453.127688306420387 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 6453
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: jari <jari.aalto@HIDDEN>, 6453 <at> debbugs.gnu.org
Received: via spool by 6453-submit <at> debbugs.gnu.org id=B6453.127688306420387
          (code B ref 6453); Fri, 18 Jun 2010 17:45:02 +0000
Received: (at 6453) by debbugs.gnu.org; 18 Jun 2010 17:44:24 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OPfc7-0005Il-F4
	for submit <at> debbugs.gnu.org; Fri, 18 Jun 2010 13:44:23 -0400
Received: from mx1.redhat.com ([209.132.183.28])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <eblake@HIDDEN>) id 1OPfc5-0005If-FA
	for 6453 <at> debbugs.gnu.org; Fri, 18 Jun 2010 13:44:22 -0400
Received: from int-mx04.intmail.prod.int.phx2.redhat.com
	(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17])
	by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5IHiF2B023976
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 18 Jun 2010 13:44:15 -0400
Received: from [10.3.225.192] (vpn-225-192.phx2.redhat.com [10.3.225.192])
	by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id o5IHiEGN005375; Fri, 18 Jun 2010 13:44:14 -0400
Message-ID: <4C1BB034.9010006@HIDDEN>
Date: Fri, 18 Jun 2010 11:43:16 -0600
From: Eric Blake <eblake@HIDDEN>
Organization: Red Hat
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
MIME-Version: 1.0
References: <871vc4u6qd.fsf@HIDDEN> <4C1B8978.7040503@HIDDEN>
	<20100618173118.GA29449@HIDDEN>
In-Reply-To: <20100618173118.GA29449@HIDDEN>
X-Enigmail-Version: 1.0.1
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigA3AF2828A482F65E8F327258"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17
X-Spam-Score: -10.1 (----------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -10.1 (----------)

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA3AF2828A482F65E8F327258
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

[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 da=
tes.
> |=20
> | Nope, O is already occupied per POSIX:
>=20
> Ok.
>=20
> | common RFC layouts, it may make sense to add a new command-line optio=
n
> | --iso-8601=3DTIMESPEC as shortcuts for building common ISO layouts.
>=20
> That's even better and more straightforward as we need not to remember
> various % flags.=20
>=20
> 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.

--=20
Eric Blake   eblake@HIDDEN    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigA3AF2828A482F65E8F327258
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMG7A0AAoJEKeha0olJ0NqWFEH/0obfKy/PdCSRRTPELMIOhLB
4OE7tHkqf90wL+U2B8tdG1V0eFpSENrKC6UmG0d5ew+hzMNhS4pZwAaELTVeEqIm
3q7IBYrNwHkGRDZs0Bwr1qm2lBzEHNzsoZ9DxtM3GVtOJrhu0xL803PG9HFSaQka
7r3SZLIXTDCeta17RsgUsvd5uw0NMDLsbLcyFGKzxIbWlf1dAcoIMwZuFQbp4sf3
POqT1YsEgryl+mNRrcbzCHNCjOa7W/wNeXBCC7VmkB9LMRJqkcvdpAZalaXvR8RQ
h9gfY2cuQkCHp/p8BcoRXe3yeLvR5TEiQJUs0zDqXjJCzBOQIrxiX4wJLq3Utro=
=nFvv
-----END PGP SIGNATURE-----

--------------enigA3AF2828A482F65E8F327258--




Message sent to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#6453: coreutils: date -- Add new options for ISO 8601 date formats (-O)
Resent-From: Eric Blake <eblake@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Fri, 18 Jun 2010 18:33:01 +0000
Resent-Message-ID: <handler.6453.B6453.127688596723882 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 6453
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: jari <jari.aalto@HIDDEN>, 6453 <at> debbugs.gnu.org
Received: via spool by 6453-submit <at> debbugs.gnu.org id=B6453.127688596723882
          (code B ref 6453); Fri, 18 Jun 2010 18:33:01 +0000
Received: (at 6453) by debbugs.gnu.org; 18 Jun 2010 18:32:47 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OPgMx-0006D9-AN
	for submit <at> debbugs.gnu.org; Fri, 18 Jun 2010 14:32:47 -0400
Received: from mx1.redhat.com ([209.132.183.28])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <eblake@HIDDEN>) id 1OPgMu-0006D4-DS
	for 6453 <at> debbugs.gnu.org; Fri, 18 Jun 2010 14:32:45 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5IIWb4s028712
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 18 Jun 2010 14:32:38 -0400
Received: from [10.3.225.192] (vpn-225-192.phx2.redhat.com [10.3.225.192])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id o5IIWbc9020228; Fri, 18 Jun 2010 14:32:37 -0400
Message-ID: <4C1BBB8B.8010904@HIDDEN>
Date: Fri, 18 Jun 2010 12:31:39 -0600
From: Eric Blake <eblake@HIDDEN>
Organization: Red Hat
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
MIME-Version: 1.0
References: <871vc4u6qd.fsf@HIDDEN> <4C1B8978.7040503@HIDDEN>
	<20100618173118.GA29449@HIDDEN>
	<4C1BB034.9010006@HIDDEN>
	<20100618181834.GB29449@HIDDEN>
In-Reply-To: <20100618181834.GB29449@HIDDEN>
X-Enigmail-Version: 1.0.1
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig603E5A55F3C32692569B1A88"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-Spam-Score: -10.1 (----------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -10.1 (----------)

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig603E5A55F3C32692569B1A88
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

[I repeat - PLEASE keep the list/bug-tracker in the loop, if you expect
anything to be done about your requests]

On 06/18/2010 12:18 PM, jari wrote:
> On 2010-06-18 11:43, Eric Blake wrote:
> | 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 e=
ven
> | need a new option, or is the existing behavior already present?  In
> | other words, I'd still like to know what particular shortcuts you fee=
l
> | are worth adding.
>=20
> I'm so used to 8601, so I dind't see the option --rfc-3339 from
> date(1) at first. Here are few commets:
>=20
>=20
>        --rfc-3339=3DTIMESPEC
>               output date and time in RFC 3339 format.
>               TIMESPEC=3D`date', `seconds', or `ns' for date and time t=
o
>               the indicated precision.  Date and time components are
>               separated by a single space: 2006-08-07 12:34:56-06:00
>=20
> Additions to -rfc-3339 option
> -----------------------------
>=20
> Current:
>=20
> 	--rfc-3339=3D"date"	2010-06-18
> 	--rfc-3339=3D"seconds"	2010-06-18 21:08:05+03:00
>=20
> It would be nice to have also without timezone:
>=20
> 	--rfc-3339=3D"time"	2010-06-18 21:08:00	(no TZ)
> 	--rfc-3339=3D"word"	2010-06-18T21:08:00	(single word with seconds)
>=20
> New option --iso8601
> --------------------
>=20
> The 3339 is mostly unknown in the field, but almost everybody
> recognize 8601, so I'd like to suggest a shorthand for the most
> commonly used format (e,g, for log entries):
>=20
> 	--iso8601
>=20
> That would be same as the long option:
>=20
>      	 --rfc-3339=3D"time"
>=20
> Perhaps also "memory friendly":
>=20
> 	--iso8601=3D"tz"
>=20
> Which would be equivalent for:
>=20
>         --rfc-3339=3D"seconds"
>=20
> Jari
>=20
>=20
> =09

--=20
Eric Blake   eblake@HIDDEN    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig603E5A55F3C32692569B1A88
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMG7uLAAoJEKeha0olJ0Nqk7UIAKl9bwG60rIATNNp6VdIXB5d
5JfbfVZjZlt/pyt1YNW4i4uCY9YJ9nBnJ5xLa476ZDvieaBSgCCorn+zuHisw6X4
WOtI9dKy6FNCP41wIZy/NAhkp75pCOoaN66spvlmo6SRlCwshLXzX+hW93+Ymoj8
7RfsRXfkwZoG9AZMxBtmMMKwZZw0Wx7zM2LaTOQX10YuCHoTuIpcwGcjPE/ABZJc
9r9VkYtVdGzxUPtfIO7I8FRlySn+GXXxYDpNA6pWJWpDFXfVQVD1ZUPRhJk5n9mk
q6n75hd/oxsJaP2Apl+hMddfL65Sb96LU8HV/+A8oToptdLtUimDped2udNuIos=
=/JdT
-----END PGP SIGNATURE-----

--------------enig603E5A55F3C32692569B1A88--





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.