GNU logs - #7997, boring messages


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


X-Loop: help-debbugs@HIDDEN
Subject: bug#7997: Feature request for date command
Resent-From: Richard Stallman <rms@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Mon, 07 Feb 2011 21:19:02 +0000
Resent-Message-ID: <handler.7997.B.129711349528106 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 7997
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 7997 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-coreutils@HIDDEN
Reply-To: rms@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.129711349528106
          (code B ref -1); Mon, 07 Feb 2011 21:19:02 +0000
Received: (at submit) by debbugs.gnu.org; 7 Feb 2011 21:18:15 +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 1PmYTP-0007JH-LH
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2011 16:18:15 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rms@HIDDEN>) id 1PmYTO-0007J4-MX
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2011 16:18:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rms@HIDDEN>) id 1PmYbl-0000kd-Uz
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2011 16:26:54 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
	T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:47606)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rms@HIDDEN>)
	id 1PmYKC-0000xp-9L
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2011 16:08:44 -0500
Received: from [140.186.70.92] (port=43316 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PmYK5-0000iI-7R
	for bug-coreutils@HIDDEN; Mon, 07 Feb 2011 16:08:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rms@HIDDEN>) id 1PmWgc-0005ST-I9
	for bug-coreutils@HIDDEN; Mon, 07 Feb 2011 14:23:47 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:56601)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rms@HIDDEN>)
	id 1PmWgc-0005SP-Gh
	for bug-coreutils@HIDDEN; Mon, 07 Feb 2011 14:23:46 -0500
Received: from rms by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rms@HIDDEN>)
	id 1PmWgc-0000RM-Dv; Mon, 07 Feb 2011 14:23:46 -0500
Date: Mon, 07 Feb 2011 14:23:46 -0500
Message-Id: <E1PmWgc-0000RM-Dv@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15
From: Richard Stallman <rms@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.10
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -6.6 (------)
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: -6.6 (------)

It should be possible to specify a timezone such as
Europe/Rome for the date input.  That works in TZ
to control the output, so it should work in the input too.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org




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: rms@HIDDEN
Subject: bug#7997: Acknowledgement (Feature request for date command)
Message-ID: <handler.7997.B.129711349528106.ack <at> debbugs.gnu.org>
References: <E1PmWgc-0000RM-Dv@HIDDEN>
X-Gnu-PR-Message: ack 7997
X-Gnu-PR-Package: coreutils
Reply-To: 7997 <at> debbugs.gnu.org
Date: Mon, 07 Feb 2011 21:19:02 +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 7997 <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
7997: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7997
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#7997: Feature request for date command
Resent-From: Bob Proulx <bob@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Mon, 07 Feb 2011 23:58:02 +0000
Resent-Message-ID: <handler.7997.B7997.129712307811899 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 7997
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: Richard Stallman <rms@HIDDEN>
Cc: 7997 <at> debbugs.gnu.org
Received: via spool by 7997-submit <at> debbugs.gnu.org id=B7997.129712307811899
          (code B ref 7997); Mon, 07 Feb 2011 23:58:02 +0000
Received: (at 7997) by debbugs.gnu.org; 7 Feb 2011 23:57:58 +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 1Pmaxy-00035s-9y
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2011 18:57:58 -0500
Received: from joseki.proulx.com ([216.17.153.58])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <bob@HIDDEN>) id 1Pmaxw-00035b-9s
	for 7997 <at> debbugs.gnu.org; Mon, 07 Feb 2011 18:57:57 -0500
Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119])
	by joseki.proulx.com (Postfix) with ESMTP id EF55521308;
	Mon,  7 Feb 2011 17:06:35 -0700 (MST)
Received: by hysteria.proulx.com (Postfix, from userid 1000)
	id E8EEA2DD7A; Mon,  7 Feb 2011 17:06:35 -0700 (MST)
Date: Mon, 7 Feb 2011 17:06:35 -0700
From: Bob Proulx <bob@HIDDEN>
Message-ID: <20110208000635.GA4313@HIDDEN>
References: <E1PmWgc-0000RM-Dv@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1PmWgc-0000RM-Dv@HIDDEN>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-Spam-Score: -2.4 (--)
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: -2.4 (--)

Richard Stallman wrote:
> It should be possible to specify a timezone such as
> Europe/Rome for the date input.  That works in TZ
> to control the output, so it should work in the input too.

For date input (using --date=STRING) you can use the TZ variable to
specify the input timezone.  Here is an example.

  $ date -R --date='TZ="Europe/Rome" 2004-10-31 06:30'
  Sat, 30 Oct 2004 23:30:00 -0600

That produced an answer in my local timezone of US/Central.  This is
useful for converting dates.  Here is another example.

  $ TZ="America/New_York" date -R --date='TZ="Europe/Paris" 2004-10-31 06:30'
  Sun, 31 Oct 2004 01:30:00 -0400

That converted a datestamp from Europe/Paris to America/New_York.

Does this help?

Bob




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


X-Loop: help-debbugs@HIDDEN
Subject: bug#7997: Feature request for date command
Resent-From: Richard Stallman <rms@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Tue, 08 Feb 2011 16:25:01 +0000
Resent-Message-ID: <handler.7997.B7997.12971822618701 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 7997
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: Bob Proulx <bob@HIDDEN>
Cc: 7997 <at> debbugs.gnu.org
Reply-To: rms@HIDDEN
Received: via spool by 7997-submit <at> debbugs.gnu.org id=B7997.12971822618701
          (code B ref 7997); Tue, 08 Feb 2011 16:25:01 +0000
Received: (at 7997) by debbugs.gnu.org; 8 Feb 2011 16:24:21 +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 1PmqMX-0002GH-Kd
	for submit <at> debbugs.gnu.org; Tue, 08 Feb 2011 11:24:21 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rms@HIDDEN>) id 1PmqMW-0002G4-1S
	for 7997 <at> debbugs.gnu.org; Tue, 08 Feb 2011 11:24:20 -0500
Received: from rms by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rms@HIDDEN>)
	id 1PmqUv-0001Gs-FD; Tue, 08 Feb 2011 11:33:01 -0500
Date: Tue, 08 Feb 2011 11:33:01 -0500
Message-Id: <E1PmqUv-0001Gs-FD@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15
From: Richard Stallman <rms@HIDDEN>
In-reply-to: <20110208000635.GA4313@HIDDEN> (message from Bob
	Proulx on Mon, 7 Feb 2011 17:06:35 -0700)
References: <E1PmWgc-0000RM-Dv@HIDDEN>
	<20110208000635.GA4313@HIDDEN>
X-Spam-Score: -6.6 (------)
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: -6.6 (------)

    For date input (using --date=STRING) you can use the TZ variable to
    specify the input timezone.  Here is an example.

      $ date -R --date='TZ="Europe/Rome" 2004-10-31 06:30'
      Sat, 30 Oct 2004 23:30:00 -0600

      $ TZ="America/New_York" date -R --date='TZ="Europe/Paris" 2004-10-31 06:30'
      Sun, 31 Oct 2004 01:30:00 -0400

That does the job, but it is not documented in the manual.
Could you document it, and add these examples?

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org





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.