GNU bug report logs - #17765
julian date is not what you think

Previous Next

Package: coreutils;

Reported by: Steve Zornes <boardstretcher <at> gmail.com>

Date: Thu, 12 Jun 2014 17:28:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Steve Zornes <boardstretcher <at> gmail.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: julian date is not what you think
Date: Thu, 12 Jun 2014 16:56:25 +0000
[Message part 1 (text/plain, inline)]
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. 		 	   		  
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 344 days ago.

Previous Next


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