From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 12 13:27:31 2014 Received: (at submit) by debbugs.gnu.org; 12 Jun 2014 17:27:31 +0000 Received: from localhost ([127.0.0.1]:45823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wv8mc-0001wB-Hp for submit@debbugs.gnu.org; Thu, 12 Jun 2014 13:27:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47090) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wv8JG-0000yH-BN for submit@debbugs.gnu.org; Thu, 12 Jun 2014 12:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv8J1-0001Jw-9z for submit@debbugs.gnu.org; Thu, 12 Jun 2014 12:57:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv8J1-0001Js-82 for submit@debbugs.gnu.org; Thu, 12 Jun 2014 12:56:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv8Ir-0002A6-Dy for bug-coreutils@gnu.org; Thu, 12 Jun 2014 12:56:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv8If-00018e-K0 for bug-coreutils@gnu.org; Thu, 12 Jun 2014 12:56:41 -0400 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]:60599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv8If-00017X-Bv for bug-coreutils@gnu.org; Thu, 12 Jun 2014 12:56:29 -0400 Received: by mail-pb0-f44.google.com with SMTP id md12so347724pbc.17 for ; Thu, 12 Jun 2014 09:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:content-type:from:to:subject:date:importance :mime-version; bh=93xHmQ2HyrrBfd9YrI43qIW2AuaVZzHKUv9t9UQIvkI=; b=c3ZE7uqEigP7vUstAxLnHbP4/u2KuMcVD+z/0RrQYRoLO+Xqri7oIpCxZTJwL92yZx HNPwtXXYmxULL8FCm0glH8qcsEIquvtObXBbA3np3cV96W7I8yMSTP+eCuoYk631ADz/ HJHBkPhzAOUC0gDqGV0/XgGjOKULbMNPwQYPjJiRRlV/RivatzkmZuVm9dX0lIeuWcLe bCG4BVMpsqaITdpvkrF6oMwaPdCGiAeVoeBMM88mq7D4PAAI0pPNpk9OWgvh1X4TRdFq 79UAmQNrzV7h+vIxG2UWBSv552wmYLpuHLnD4gPiFtsNPu31clNTzhvwPkZKfk4EiWlI 4PUg== X-Received: by 10.68.211.195 with SMTP id ne3mr13766890pbc.121.1402592187395; Thu, 12 Jun 2014 09:56:27 -0700 (PDT) Received: from mail.hotmail.com (col0-wss1-s5.col0.hotmail.com. [157.56.23.12]) by mx.google.com with ESMTPSA id pb7sm7775597pac.10.2014.06.12.09.56.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 12 Jun 2014 09:56:26 -0700 (PDT) Received: from COL129-W24 ([157.56.23.7]) by col0-wss1-s5.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 12 Jun 2014 09:56:25 -0700 X-TMN: [WCzUVJswi7o0wtCoJn2Xgh/naJTvCvnZ] Message-ID: Content-Type: multipart/alternative; boundary="_ebb6a2cc-4a4a-4598-a3fb-38d96460686d_" From: Steve Zornes To: "bug-coreutils@gnu.org" Subject: julian date is not what you think Date: Thu, 12 Jun 2014 16:56:25 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 12 Jun 2014 16:56:25.0768 (UTC) FILETIME=[3F37F280:01CF865F] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 12 Jun 2014 13:27:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --_ebb6a2cc-4a4a-4598-a3fb-38d96460686d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable the date command uses %j to specify number of days since beginning of year.= It looks as though %j is meant to mean Julian day which is ACTUALLY the nu= mber of days since the julian calendar started. Currently 2=2C000=2C000 or = so. number of days since the beginning of the year is called ordinal date and s= hould be specified with a %o=20 just a thought. = --_ebb6a2cc-4a4a-4598-a3fb-38d96460686d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
the date command uses %j to= specify number of days since beginning of year. It looks as though %j is m= eant to mean Julian day which is ACTUALLY the number of days since the juli= an calendar started. Currently 2=2C000=2C000 or so.

number of days since the beginning of the year is called ordinal date and= should be specified with a %o =3B

just a thou= ght.
= --_ebb6a2cc-4a4a-4598-a3fb-38d96460686d_-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 12 15:03:55 2014 Received: (at 17765-done) by debbugs.gnu.org; 12 Jun 2014 19:03:56 +0000 Received: from localhost ([127.0.0.1]:45852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvAHz-00052G-9a for submit@debbugs.gnu.org; Thu, 12 Jun 2014 15:03:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1025) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvAHv-00051s-Nu; Thu, 12 Jun 2014 15:03:53 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5CJ3mtE013085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Jun 2014 15:03:49 -0400 Received: from [10.3.113.11] ([10.3.113.11]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5CJ3mDj003144; Thu, 12 Jun 2014 15:03:48 -0400 Message-ID: <5399F993.5070002@redhat.com> Date: Thu, 12 Jun 2014 13:03:47 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Steve Zornes , 17765-done@debbugs.gnu.org Subject: Re: bug#17765: julian date is not what you think References: In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="I15X8RIPvnDetDCvoW6x4fBxP1K8Kstdo" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17765-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --I15X8RIPvnDetDCvoW6x4fBxP1K8Kstdo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/12/2014 10:56 AM, Steve Zornes wrote: > the date command uses %j to specify number of days since beginning of y= ear. It looks as though %j is meant to mean Julian day which is ACTUALLY = the number of days since the julian calendar started. Currently 2,000,000= or so. > number of days since the beginning of the year is called ordinal date a= nd should be specified with a %o=20 > just a thought. =20 >=20 Please read the discussion at https://lists.gnu.org/archive/html/coreutils/2013-10/msg00019.html There are two different definitions for Julian date. POSIX has standardized %j to mean the count of days within a Gregorian year, and NOT the astronomical Julian date. http://pubs.opengroup.org/onlinepubs/9699919799/toc.htm We are reluctant to burn %o without it being required by POSIX, because strftime letters are already sparse; this is particularly true of burning a letter to be a synonym to an already standardized letter. The proposal in the thread mentioned above would be to add a %J as the Astronomical Julian date, if there proves to be enough demand, but so far, no one has expressed enough interest to actually write the patch. Therefore, I'm closing this as not a bug, although you can feel free to add further replies to the thread. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --I15X8RIPvnDetDCvoW6x4fBxP1K8Kstdo 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTmfmTAAoJEKeha0olJ0NqGJwH/jKZwmRh5APZ5JGvRoeLO2oS CuVPsUfsdyhgdvDv/JRt6sGT8+6keryFHQWEZyiwhz4NUyHfNSHhcITF94WWgMsh 85I1p3WQZkZEmkbV+eUhRKfRPbfmruRS64ZiHr2Y5CEiqAPdKgxHxY/c3f3fH5XD eou06fhB9KWRjy+wZkqUxN4cy4p5X2zixFJm+ClPub22HnXYCbeMarcnJkRcxwGH 6wivDsBCkItf12t09o95oAb9aEGgya5VV6IExmwPJUXX+/2DbPpC1mxDqRIQ0qnk 03BTQd98meeBFaiM3phOp5VqUFvZJ1DgvXG3fQ2VJLIp7tE+CUpxJBdsgsjrpUs= =8Kz4 -----END PGP SIGNATURE----- --I15X8RIPvnDetDCvoW6x4fBxP1K8Kstdo-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 12 15:04:29 2014 Received: (at 17765) by debbugs.gnu.org; 12 Jun 2014 19:04:29 +0000 Received: from localhost ([127.0.0.1]:45864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvAIX-00054Q-0x for submit@debbugs.gnu.org; Thu, 12 Jun 2014 15:04:29 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:42862) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvAIU-000543-Gm; Thu, 12 Jun 2014 15:04:27 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQBAMT4mVNtTTAJ/2dsb2JhbAANTcQggxEBgSGEeAEBAQQyAUYQCw0BCgkWDwkDAgECAUUGDQEHAQGIQ7E6oRQXjlsHhEEBA6FVj2w Received: from unknown (HELO [192.168.1.79]) ([109.77.48.9]) by mail2.vodafone.ie with ESMTP; 12 Jun 2014 20:04:17 +0100 Message-ID: <5399F9B0.3040103@draigBrady.com> Date: Thu, 12 Jun 2014 20:04:16 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Steve Zornes Subject: Re: bug#17765: julian date is not what you think References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17765 Cc: 17765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tag notabug 17765 close 17765 stop On 06/12/2014 05:56 PM, Steve Zornes wrote: > the date command uses %j to specify number of days since beginning of year. It looks as though %j is meant to mean Julian day which is ACTUALLY the number of days since the julian calendar started. Currently 2,000,000 or so. > number of days since the beginning of the year is called ordinal date and should be specified with a %o > just a thought. Stricktly you are correct, though calendars with the ordinal day listed are often referred to julian calendars. There is a long history of specifying this with %j. See strftime, cal -j, etc. So while %o is available, it's not worth the trouble to use for this IMHO. In any case you wouldn't start changing this in date(1), rather the POSIX standards for strftime() etc. But again I don't think this is practical. thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 12 15:08:05 2014 Received: (at control) by debbugs.gnu.org; 12 Jun 2014 19:08:05 +0000 Received: from localhost ([127.0.0.1]:45873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvAM0-0005Bl-MH for submit@debbugs.gnu.org; Thu, 12 Jun 2014 15:08:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55948) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvALx-0005BL-4G for control@debbugs.gnu.org; Thu, 12 Jun 2014 15:08:02 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5CJ80E0021482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 12 Jun 2014 15:08:00 -0400 Received: from [10.3.113.11] ([10.3.113.11]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5CJ802H005528 for ; Thu, 12 Jun 2014 15:08:00 -0400 Message-ID: <5399FA90.7090808@redhat.com> Date: Thu, 12 Jun 2014 13:08:00 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: GNU bug tracker automated control server Subject: Re: bug#17765: julian date is not what you think References: <5399F993.5070002@redhat.com> In-Reply-To: <5399F993.5070002@redhat.com> X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nNd2DAVILBBqkNwqoGi27h34bfrnmMArD" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nNd2DAVILBBqkNwqoGi27h34bfrnmMArD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 17765 notabug thanks On 06/12/2014 01:03 PM, Eric Blake wrote: > On 06/12/2014 10:56 AM, Steve Zornes wrote: >> the date command uses %j to specify number of days since beginning of = year. It looks as though %j is meant to mean Julian day which is ACTUALLY= the number of days since the julian calendar started. Currently 2,000,00= 0 or so. >> number of days since the beginning of the year is called ordinal date = and should be specified with a %o=20 >> just a thought. =20 >> >=20 > Please read the discussion at > https://lists.gnu.org/archive/html/coreutils/2013-10/msg00019.html >=20 > There are two different definitions for Julian date. POSIX has > standardized %j to mean the count of days within a Gregorian year, and > NOT the astronomical Julian date. > http://pubs.opengroup.org/onlinepubs/9699919799/toc.htm >=20 > We are reluctant to burn %o without it being required by POSIX, because= > strftime letters are already sparse; this is particularly true of > burning a letter to be a synonym to an already standardized letter. Th= e > proposal in the thread mentioned above would be to add a %J as the > Astronomical Julian date, if there proves to be enough demand, but so > far, no one has expressed enough interest to actually write the patch. >=20 > Therefore, I'm closing this as not a bug, although you can feel free to= > add further replies to the thread. >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --nNd2DAVILBBqkNwqoGi27h34bfrnmMArD 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTmfqQAAoJEKeha0olJ0Nq/4IH/iRCdMedforFWltoKaVSTPji 8zDitj7TCR/gWnVoAcPrHnH5mM8UYvqgG38THvHGS8bA+vSd+y62RXhspz7n4x4y opjV3NxWWtb6XG8DBEz8zlKv790b+uzv6MEzhz3jVnbaNm1XxN56JAkRPXndm8HL IxWqQ7RmDOWA+C1NZI6FXvJIcQbTpkg3g5uz01BNicabigFxdtPcmnC1MrIxFS4f tJjzypadbvyetZMU/pV/4kyNSk3bDiQ8NVqp37wp93fAtwYnfk1svy3nq0dyXFq4 Q83sy0+a+Sd2VkOHrsx+QOebntv/a4IKiN7yrRi9s2hzXKJY10lYpSgCYOD7aKY= =SJPC -----END PGP SIGNATURE----- --nNd2DAVILBBqkNwqoGi27h34bfrnmMArD-- From unknown Thu Jun 19 14:14:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 Jul 2014 11:24:04 +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