emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#17765: closed (julian date is not what you think)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17765: closed (julian date is not what you think)
Date: Thu, 12 Jun 2014 19:04:03 +0000

Your message dated Thu, 12 Jun 2014 13:03:47 -0600
with message-id <address@hidden>
and subject line Re: bug#17765: julian date is not what you think
has caused the debbugs.gnu.org bug report #17765,
regarding julian date is not what you think
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17765: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17765
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: julian date is not what you think Date: Thu, 12 Jun 2014 16:56:25 +0000
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.

--- End Message ---
--- Begin Message --- Subject: Re: bug#17765: julian date is not what you think Date: Thu, 12 Jun 2014 13:03:47 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
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,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.                                         
> 

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.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

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