From unknown Fri Jun 20 07:11:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7866 <7866@debbugs.gnu.org> To: bug#7866 <7866@debbugs.gnu.org> Subject: Status: Problem with date +%s -d Reply-To: bug#7866 <7866@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:11:47 +0000 retitle 7866 Problem with date +%s -d=20 reassign 7866 coreutils submitter 7866 "Arvizu, Bob (CONT)" severity 7866 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 13:44:12 2011 Received: (at submit) by debbugs.gnu.org; 19 Jan 2011 18:44:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfd0t-0008J4-Hr for submit@debbugs.gnu.org; Wed, 19 Jan 2011 13:44:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfd0K-0008Hh-9m for submit@debbugs.gnu.org; Wed, 19 Jan 2011 13:43:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pfd7s-00011c-28 for submit@debbugs.gnu.org; Wed, 19 Jan 2011 13:51:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, MIME_QP_LONG_LINE, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:59866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pfd7r-00011Y-Ql for submit@debbugs.gnu.org; Wed, 19 Jan 2011 13:51:24 -0500 Received: from [140.186.70.92] (port=50702 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pfd7q-0007I0-9t for bug-coreutils@gnu.org; Wed, 19 Jan 2011 13:51:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pfd7n-00010k-0q for bug-coreutils@gnu.org; Wed, 19 Jan 2011 13:51:22 -0500 Received: from out.capitalone.com ([199.244.214.30]:21437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pfd7m-00010E-RZ for bug-coreutils@gnu.org; Wed, 19 Jan 2011 13:51:18 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,6231"; a="146117917" X-IronPort-AV: E=Sophos;i="4.60,345,1291611600"; d="scan'208,217";a="146117917" X-HTML-Disclaimer: True Received: from kdcpexcasht01.cof.ds.capitalone.com ([10.37.194.11]) by out.capitalone.com with ESMTP; 19 Jan 2011 13:51:16 -0500 Received: from KDCPEXCMB01.cof.ds.capitalone.com ([169.254.1.139]) by KDCPEXCASHT01.cof.ds.capitalone.com ([10.37.194.11]) with mapi; Wed, 19 Jan 2011 13:51:16 -0500 From: "Arvizu, Bob (CONT)" To: "bug-coreutils@gnu.org" Date: Wed, 19 Jan 2011 13:51:13 -0500 Subject: Problem with date +%s -d Thread-Topic: Problem with date +%s -d Thread-Index: Acu4CdggTFJKXPJoTkyvIWqyUMRrOg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: Aesu AzaA BZLC BnuC CbPd Cw21 EJp3 El5r FChS GOWX HQBn HqsP Hrhr H+SP JmHs K9wc; 1; YgB1AGcALQBjAG8AcgBlAHUAdABpAGwAcwBAAGcAbgB1AC4AbwByAGcA; Sosha1_v1; 7; {FA22A164-8CA6-4127-843A-DDAD8B6B49F0}; YgBvAGIALgBhAHIAdgBpAHoAdQBAAGMAYQBwAGkAdABhAGwAbwBuAGUALgBjAG8AbQA=; Wed, 19 Jan 2011 18:51:13 GMT;UAByAG8AYgBsAGUAbQAgAHcAaQB0AGgAIABkAGEAdABlACAAKwAlAHMAIAAtAGQA x-cr-puzzleid: {FA22A164-8CA6-4127-843A-DDAD8B6B49F0} acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_E484B998C421B5479627CF621E59F88343D6E0B68CKDCPEXCMB01co_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 19 Jan 2011 13:44:10 -0500 Cc: "Barrar, John" , "Sheth, Amit \(CONT\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) --_000_E484B998C421B5479627CF621E59F88343D6E0B68CKDCPEXCMB01co_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Folks, fyi ... I've discovered a problem with the "date +%s -d Date" command on Linux xxxxxx 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 17:56:21 EST 2010 i686 i6= 86 i386 GNU/Linux and Linux yyyyyy 2.6.9-89.0.28.ELlargesmp #1 SMP Thu Jul 22 18:24:58 EDT 2010 x= 86_64 x86_64 x86_64 GNU/Linux date +%s -d 20110313 1299992400 date +%s -d 20110314 1300075200 echo $(( 1300075200 - 1299992400 )) 82800 Regards, Bob Arvizu The information contained in this e-mail is confidential and/or proprietary=20
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is=20
addressed. If the reader of this message is not the intended recipient,=20
you are hereby notified that any review, retransmission, dissemination,=20
distribution, copying or other use of, or taking of any action in reliance=20
upon this information is strictly prohibited. If you have received this=20
communication in error, please contact the sender and delete the material=20
from your computer.
--_000_E484B998C421B5479627CF621E59F88343D6E0B68CKDCPEXCMB01co_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Folks,
 
fyi …
I've discovered a problem with the "date = +%s -d Date" command on
Linux xxxxxx 2.6.9-89.0.23.ELsmp #1 SMP Fri Ma= r 5 17:56:21 EST 2010 i686 i686 i386 GNU/Linux
and
Linux yyyyyy 2.6.9-89.0.28.ELlargesmp #1 SMP T= hu Jul 22 18:24:58 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
 
date +%s -d 20110313
1299992400
date +%s -d 20110314
1300075200
echo $(( 1300075200 - 1299992400 ))
82800
 
 
Regards,
Bob Arvizu
 







The information contained in this e-mail is confidential and/or proprietary=20

to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is=20
addressed. If the reader of this message is not the intended recipient,=20
you are hereby notified that any review, retransmission, dissemination,=20
distribution, copying or other use of, or taking of any action in reliance=20
upon this information is strictly prohibited. If you have received this=20
communication in error, please contact the sender and delete the material=20
from your computer.
--_000_E484B998C421B5479627CF621E59F88343D6E0B68CKDCPEXCMB01co_-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 14:53:55 2011 Received: (at 7866) by debbugs.gnu.org; 19 Jan 2011 19:53:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfe6M-0001RY-Os for submit@debbugs.gnu.org; Wed, 19 Jan 2011 14:53:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfe6K-0001RL-5D for 7866@debbugs.gnu.org; Wed, 19 Jan 2011 14:53:53 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0JK1dp2031421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 19 Jan 2011 15:01:39 -0500 Received: from [10.3.113.109] (ovpn-113-109.phx2.redhat.com [10.3.113.109]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0JK1cl5027202; Wed, 19 Jan 2011 15:01:39 -0500 Message-ID: <4D374322.2030604@redhat.com> Date: Wed, 19 Jan 2011 13:01:38 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Arvizu, Bob (CONT)" Subject: Re: bug#7866: Problem with date +%s -d References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB72413C4D201DC3AF37B2A9E" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -10.2 (----------) X-Debbugs-Envelope-To: 7866 Cc: "Barrar, John" , 7866@debbugs.gnu.org, "Sheth, Amit \(CONT\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB72413C4D201DC3AF37B2A9E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01/19/2011 11:51 AM, Arvizu, Bob (CONT) wrote: > Folks, >=20 > fyi ... > I've discovered a problem with the "date +%s -d Date" command on > Linux xxxxxx 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 17:56:21 EST 2010 i68= 6 i686 i386 GNU/Linux > and > Linux yyyyyy 2.6.9-89.0.28.ELlargesmp #1 SMP Thu Jul 22 18:24:58 EDT 20= 10 x86_64 x86_64 x86_64 GNU/Linux >=20 > date +%s -d 20110313 > 1299992400 > date +%s -d 20110314 > 1300075200 > echo $(( 1300075200 - 1299992400 )) > 82800 You haven't stated what the problem is that you found, though. I'm afraid I don't see any bug in what you posted. My guess is that you are complaining that the difference is one of 23 hours instead of the usual 24, but that's expected according to your TZ settings, when you cross a daylight savings boundary. If you want your calculations to be independent of daylight savings issues, then force the time zone: $ date +%s -d 20110313 -u 1299974400 $ date +%s -d 20110314 -u 1300060800 $ echo $(( 1300060800 - 1299974400 )) 86400 See also the FAQ: http://www.gnu.org/software/coreutils/faq/#The-date-command-is-not-workin= g-right_002e > The information contained in this e-mail is confidential and/or proprie= tary=20 It is considered poor netiquette to send mail with such disclaimers to publicly archived lists, where the disclaimer is unenforceable. You may have better luck using a personal account for sending bug report emails if you can't avoid your employer's disclaimer. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigB72413C4D201DC3AF37B2A9E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNN0MiAAoJEKeha0olJ0NqG+wH/iL4Uo/WuprHtFFnFIE64BIz RylmNztatbpzrWX4zIdKLBVP6VAoNN+Lnzbsw+R3OS+Ym81md3eJ1PLs3tVth3xu FTsE5k/vR99tDmlCRpd4Jo62Q+6RzV+4r8WuwvZNvXtGqT5h7k8FyJ8SZRm983T7 U5tQRtNT70J7qe32V+BDBsF2t+u1NnvQcB4+gHrzCWETLrCY7fOH9fCw3u2wSJZd lSmBbNlQFRMox/ieQ5daIuW6KgBvuvwoepUQcyhWevavmhLuvc7oRUSrR4DVjyXj VZ1/uPhQZSwH9ixMHestx5nVm+aJPwQsmW+qZt839IZ0cxqXrl+kGkS4mY4Vhgw= =2ioS -----END PGP SIGNATURE----- --------------enigB72413C4D201DC3AF37B2A9E-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 15:04:24 2011 Received: (at 7866) by debbugs.gnu.org; 19 Jan 2011 20:04:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfeGW-0001fR-10 for submit@debbugs.gnu.org; Wed, 19 Jan 2011 15:04:24 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfeGT-0001fF-5c for 7866@debbugs.gnu.org; Wed, 19 Jan 2011 15:04:22 -0500 Received: from pii350 (unknown [82.236.101.3]) by smtp3-g21.free.fr (Postfix) with SMTP id 328B5A6152; Wed, 19 Jan 2011 21:12:03 +0100 (CET) Message-ID: <06b801cbb814$b6420db0$f9b5a8c0@pii350> From: "Gilles Espinasse" To: <7866@debbugs.gnu.org>, "Arvizu, Bob \(CONT\)" References: Subject: Re: bug#7866: Problem with date +%s -d Date: Wed, 19 Jan 2011 21:08:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.2001 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.2001 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 7866 Cc: "Barrar, John" , "Sheth, Amit \(CONT\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) ----- Original Message ----- From: "Arvizu, Bob (CONT)" To: <7866@debbugs.gnu.org> Cc: "Barrar, John" ; "Sheth,Amit (CONT)" Sent: Wednesday, January 19, 2011 7:51 PM Subject: bug#7866: Problem with date +%s -d > Folks, > > fyi ... > I've discovered a problem with the "date +%s -d Date" command on > Linux xxxxxx 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 17:56:21 EST 2010 > i686 i686 i386 GNU/Linux > and > Linux yyyyyy 2.6.9-89.0.28.ELlargesmp #1 SMP Thu Jul 22 18:24:58 EDT 2010 > x86_64 x86_64 x86_64 GNU/Linux > > date +%s -d 20110313 > 1299992400 > date +%s -d 20110314 > 1300075200 > echo $(( 1300075200 - 1299992400 )) > 82800 > > Thank for the report. This is addressed in FAQ http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e this should show the timezone names switching time the 13 March : cd /usr/share/zoneinfo/posix && find ./ -type f -exec zdump -v {} \; | grep '2011' | grep 'Mar 13' Gilles The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is
addressed. If the reader of this message is not the intended recipient,
you are hereby notified that any review, retransmission, dissemination,
distribution, copying or other use of, or taking of any action in reliance
upon this information is strictly prohibited. If you have received this
communication in error, please contact the sender and delete the material
from your computer.
From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 15:05:17 2011 Received: (at 7866) by debbugs.gnu.org; 19 Jan 2011 20:05:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfeHN-0001go-DB for submit@debbugs.gnu.org; Wed, 19 Jan 2011 15:05:17 -0500 Received: from out.capitalone.com ([199.244.214.30]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfeHK-0001gb-QV for 7866@debbugs.gnu.org; Wed, 19 Jan 2011 15:05:15 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,6231"; a="146151062" X-IronPort-AV: E=Sophos;i="4.60,345,1291611600"; d="scan'208";a="146151062" Received: from kdcpexcasht01.cof.ds.capitalone.com ([10.37.194.11]) by out.capitalone.com with ESMTP; 19 Jan 2011 15:13:03 -0500 Received: from KDCPEXCMB01.cof.ds.capitalone.com ([169.254.1.139]) by KDCPEXCASHT01.cof.ds.capitalone.com ([10.37.194.11]) with mapi; Wed, 19 Jan 2011 15:13:03 -0500 From: "Arvizu, Bob (CONT)" To: Eric Blake Date: Wed, 19 Jan 2011 15:13:02 -0500 Subject: RE: bug#7866: Problem with date +%s -d Thread-Topic: bug#7866: Problem with date +%s -d Thread-Index: Acu4E7D7tah64GrsQnywyAsb2eiqVgAAVsSQ Message-ID: References: <4D374322.2030604@redhat.com> In-Reply-To: <4D374322.2030604@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 7866 Cc: "Barrar, John" , "7866@debbugs.gnu.org" <7866@debbugs.gnu.org>, "Sheth, Amit \(CONT\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) Thanks, Eric!! That's it!! I didn't daylight savings boundary!! Thanks, Bob -----Original Message----- From: Eric Blake [mailto:eblake@redhat.com]=20 Sent: Wednesday, January 19, 2011 3:02 PM To: Arvizu, Bob (CONT) Cc: 7866@debbugs.gnu.org; Barrar, John; Sheth, Amit (CONT) Subject: Re: bug#7866: Problem with date +%s -d On 01/19/2011 11:51 AM, Arvizu, Bob (CONT) wrote: > Folks, >=20 > fyi ... > I've discovered a problem with the "date +%s -d Date" command on Linux=20 > xxxxxx 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 17:56:21 EST 2010 i686=20 > i686 i386 GNU/Linux and Linux yyyyyy 2.6.9-89.0.28.ELlargesmp #1 SMP=20 > Thu Jul 22 18:24:58 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux >=20 > date +%s -d 20110313 > 1299992400 > date +%s -d 20110314 > 1300075200 > echo $(( 1300075200 - 1299992400 )) > 82800 You haven't stated what the problem is that you found, though. I'm afraid = I don't see any bug in what you posted. My guess is that you are complaining that the difference is one of 23 hours= instead of the usual 24, but that's expected according to your TZ settings= , when you cross a daylight savings boundary. If you want your calculations to be independent of daylight savings issues,= then force the time zone: $ date +%s -d 20110313 -u 1299974400 $ date +%s -d 20110314 -u 1300060800 $ echo $(( 1300060800 - 1299974400 )) 86400 See also the FAQ: http://www.gnu.org/software/coreutils/faq/#The-date-command-is-not-working-= right_002e > The information contained in this e-mail is confidential and/or=20 > proprietary It is considered poor netiquette to send mail with such disclaimers to publ= icly archived lists, where the disclaimer is unenforceable. You may have b= etter luck using a personal account for sending bug report emails if you ca= n't avoid your employer's disclaimer. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates. The information transmitted herewith is intended only for use by the individual or entity to which it is=20 addressed. If the reader of this message is not the intended recipient,=20 you are hereby notified that any review, retransmission, dissemination,=20 distribution, copying or other use of, or taking of any action in reliance=20 upon this information is strictly prohibited. If you have received this=20 communication in error, please contact the sender and delete the material=20 from your computer. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 15:06:34 2011 Received: (at 7866) by debbugs.gnu.org; 19 Jan 2011 20:06:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfeIb-0001iZ-Ma for submit@debbugs.gnu.org; Wed, 19 Jan 2011 15:06:33 -0500 Received: from out.capitalone.com ([199.244.214.30]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfeIa-0001iN-4s for 7866@debbugs.gnu.org; Wed, 19 Jan 2011 15:06:32 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,6231"; a="146151639" X-IronPort-AV: E=Sophos;i="4.60,345,1291611600"; d="scan'208";a="146151639" Received: from kdcpexcasht04.cof.ds.capitalone.com ([10.37.194.14]) by out.capitalone.com with ESMTP; 19 Jan 2011 15:14:21 -0500 Received: from KDCPEXCMB01.cof.ds.capitalone.com ([169.254.1.139]) by KDCPEXCASHT04.cof.ds.capitalone.com ([10.37.194.14]) with mapi; Wed, 19 Jan 2011 15:14:21 -0500 From: "Arvizu, Bob (CONT)" To: Gilles Espinasse , "7866@debbugs.gnu.org" <7866@debbugs.gnu.org> Date: Wed, 19 Jan 2011 15:14:20 -0500 Subject: RE: bug#7866: Problem with date +%s -d Thread-Topic: bug#7866: Problem with date +%s -d Thread-Index: Acu4FSoqRsWjhd9jR+acZiVbD7sbNwAACpwA Message-ID: References: <06b801cbb814$b6420db0$f9b5a8c0@pii350> In-Reply-To: <06b801cbb814$b6420db0$f9b5a8c0@pii350> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 7866 Cc: "Barrar, John" , "Sheth, Amit \(CONT\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Thanks, Gilles!! Daylight savings didn't occur to me!! =20 That's great, because that means there's no bug!! Thanks!!!! -Bob -----Original Message----- From: Gilles Espinasse [mailto:g.esp@free.fr]=20 Sent: Wednesday, January 19, 2011 3:09 PM To: 7866@debbugs.gnu.org; Arvizu, Bob (CONT) Cc: Barrar, John; Sheth, Amit (CONT) Subject: Re: bug#7866: Problem with date +%s -d=20 ----- Original Message -----=20 From: "Arvizu, Bob (CONT)" To: <7866@debbugs.gnu.org> Cc: "Barrar, John" ; "Sheth,Amit (CONT)" Sent: Wednesday, January 19, 2011 7:51 PM Subject: bug#7866: Problem with date +%s -d > Folks, > > fyi ... > I've discovered a problem with the "date +%s -d Date" command on > Linux xxxxxx 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 17:56:21 EST 2010 > i686 i686 i386 GNU/Linux > and > Linux yyyyyy 2.6.9-89.0.28.ELlargesmp #1 SMP Thu Jul 22 18:24:58 EDT 2010 > x86_64 x86_64 x86_64 GNU/Linux > > date +%s -d 20110313 > 1299992400 > date +%s -d 20110314 > 1300075200 > echo $(( 1300075200 - 1299992400 )) > 82800 > > Thank for the report. This is addressed in FAQ http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-comma= nd-is-not-working-right_002e this should show the timezone names switching time the 13 March : cd /usr/share/zoneinfo/posix && find ./ -type f -exec zdump -v {} \; | grep '2011' | grep 'Mar 13' Gilles The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is
addressed. If the reader of this message is not the intended recipient,
you are hereby notified that any review, retransmission, dissemination,
distribution, copying or other use of, or taking of any action in reliance
upon this information is strictly prohibited. If you have received this
communication in error, please contact the sender and delete the material
from your computer.
The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates. The information transmitted herewith is intended only for use by the individual or entity to which it is=20 addressed. If the reader of this message is not the intended recipient,=20 you are hereby notified that any review, retransmission, dissemination,=20 distribution, copying or other use of, or taking of any action in reliance=20 upon this information is strictly prohibited. If you have received this=20 communication in error, please contact the sender and delete the material=20 from your computer. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 15:31:26 2011 Received: (at 7866-done) by debbugs.gnu.org; 19 Jan 2011 20:31:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfegg-0002Ff-0I for submit@debbugs.gnu.org; Wed, 19 Jan 2011 15:31:26 -0500 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfege-0002FU-GV for 7866-done@debbugs.gnu.org; Wed, 19 Jan 2011 15:31:25 -0500 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 2EB4821363; Wed, 19 Jan 2011 13:39:13 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 15FBA2DCC8; Wed, 19 Jan 2011 13:39:13 -0700 (MST) Date: Wed, 19 Jan 2011 13:39:13 -0700 From: Bob Proulx To: "Arvizu, Bob (CONT)" Subject: Re: bug#7866: Problem with date +%s -d Message-ID: <20110119203913.GA29236@hysteria.proulx.com> References: <06b801cbb814$b6420db0$f9b5a8c0@pii350> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 7866-done Cc: 7866-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Arvizu, Bob (CONT) wrote: > That's great, because that means there's no bug!! Closing this bug ticket with this message. Bob From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 15:49:23 2011 Received: (at 7866) by debbugs.gnu.org; 19 Jan 2011 20:49:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfey3-0002fi-9G for submit@debbugs.gnu.org; Wed, 19 Jan 2011 15:49:23 -0500 Received: from out.capitalone.com ([199.244.214.30]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfey1-0002fW-6q for 7866@debbugs.gnu.org; Wed, 19 Jan 2011 15:49:21 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,6231"; a="146126079" X-IronPort-AV: E=Sophos;i="4.60,345,1291611600"; d="scan'208";a="146126079" Received: from kdcpexcasht03.cof.ds.capitalone.com ([10.37.194.13]) by out.capitalone.com with ESMTP; 19 Jan 2011 15:57:10 -0500 Received: from KDCPEXCMB01.cof.ds.capitalone.com ([169.254.1.139]) by kdcpexcasht03.cof.ds.capitalone.com ([10.37.194.13]) with mapi; Wed, 19 Jan 2011 15:57:09 -0500 From: "Arvizu, Bob (CONT)" To: "7866@debbugs.gnu.org" <7866@debbugs.gnu.org> Date: Wed, 19 Jan 2011 15:57:08 -0500 Subject: RE: bug#7866: closed (Re: bug#7866: Problem with date +%s -d) Thread-Topic: bug#7866: closed (Re: bug#7866: Problem with date +%s -d) Thread-Index: Acu4GxhlUYtJplCVRRuzcMuAthEXGQAAAxXg Message-ID: References: <20110119203913.GA29236@hysteria.proulx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: 7866 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) VGhhbmtzIHZlcnkgbXVjaCBmb3IgdGhlIHVwZGF0ZSEhDQpDb25ncmF0dWxhdGlvbnMhISAgWW91 J3JlIGFsbCBpbXByZXNzaXZlbHkgcmVzcG9uc2l2ZSAuLi4uIGFuZCwganVzdCBwbGFpbiBEYXJu IEdPT0QhIQ0KOi0pDQpCb2IgQXJ2aXp1DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpG cm9tOiBHTlUgYnVnIFRyYWNraW5nIFN5c3RlbSBbbWFpbHRvOmhlbHAtZGViYnVnc0BnbnUub3Jn XSANClNlbnQ6IFdlZG5lc2RheSwgSmFudWFyeSAxOSwgMjAxMSAzOjMyIFBNDQpUbzogQXJ2aXp1 LCBCb2IgKENPTlQpDQpTdWJqZWN0OiBidWcjNzg2NjogY2xvc2VkIChSZTogYnVnIzc4NjY6IFBy b2JsZW0gd2l0aCBkYXRlICslcyAtZCkNCg0KWW91ciBidWcgcmVwb3J0DQoNCiM3ODY2OiBQcm9i bGVtIHdpdGggZGF0ZSArJXMgLWQgDQoNCndoaWNoIHdhcyBmaWxlZCBhZ2FpbnN0IHRoZSBjb3Jl dXRpbHMgcGFja2FnZSwgaGFzIGJlZW4gY2xvc2VkLg0KDQpUaGUgZXhwbGFuYXRpb24gaXMgYXR0 YWNoZWQgYmVsb3csIGFsb25nIHdpdGggeW91ciBvcmlnaW5hbCByZXBvcnQuDQpJZiB5b3UgcmVx dWlyZSBtb3JlIGRldGFpbHMsIHBsZWFzZSByZXBseSB0byA3ODY2QGRlYmJ1Z3MuZ251Lm9yZy4N Cg0KLS0gDQo3ODY2OiBodHRwOi8vZGViYnVncy5nbnUub3JnL2NnaS9idWdyZXBvcnQuY2dpP2J1 Zz03ODY2DQpHTlUgQnVnIFRyYWNraW5nIFN5c3RlbQ0KQ29udGFjdCBoZWxwLWRlYmJ1Z3NAZ251 Lm9yZyB3aXRoIHByb2JsZW1zDQoKCgoKCgoKVGhlIGluZm9ybWF0aW9uIGNvbnRhaW5lZCBpbiB0 aGlzIGUtbWFpbCBpcyBjb25maWRlbnRpYWwgYW5kL29yIHByb3ByaWV0YXJ5Cgp0byBDYXBpdGFs IE9uZSBhbmQvb3IgaXRzIGFmZmlsaWF0ZXMuIFRoZSBpbmZvcm1hdGlvbiB0cmFuc21pdHRlZCBo ZXJld2l0aAoKaXMgaW50ZW5kZWQgb25seSBmb3IgdXNlIGJ5IHRoZSBpbmRpdmlkdWFsIG9yIGVu dGl0eSB0byB3aGljaCBpdCBpcyAKCmFkZHJlc3NlZC4gIElmIHRoZSByZWFkZXIgb2YgdGhpcyBt ZXNzYWdlIGlzIG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBpZW50LCAKCnlvdSBhcmUgaGVyZWJ5IG5v dGlmaWVkIHRoYXQgYW55IHJldmlldywgcmV0cmFuc21pc3Npb24sIGRpc3NlbWluYXRpb24sIAoK ZGlzdHJpYnV0aW9uLCBjb3B5aW5nIG9yIG90aGVyIHVzZSBvZiwgb3IgdGFraW5nIG9mIGFueSBh Y3Rpb24gaW4gcmVsaWFuY2UgCgp1cG9uIHRoaXMgaW5mb3JtYXRpb24gaXMgc3RyaWN0bHkgcHJv aGliaXRlZC4gSWYgeW91IGhhdmUgcmVjZWl2ZWQgdGhpcyAKCmNvbW11bmljYXRpb24gaW4gZXJy b3IsIHBsZWFzZSBjb250YWN0IHRoZSBzZW5kZXIgYW5kIGRlbGV0ZSB0aGUgbWF0ZXJpYWwgCgpm cm9tIHlvdXIgY29tcHV0ZXIuCgoKCg== From unknown Fri Jun 20 07:11:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 17 Feb 2011 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator