"Julian" ambiguity (was Re: [Python-Dev] strptime recapped)

Brett Cannon bac@OCF.Berkeley.EDU
Mon, 24 Jun 2002 14:02:27 -0700 (PDT)

[Steven Lott]

> Thanks for the amplification - that was precisely my point.
> When proposing that strptime() parse "Julian" dates, some more
> precise definition of Julian is required.


strptime just follows strftime's definition of a Julian day which is the
number of days since Jan. 1 of the year.  It is out of my hands in terms
of definition of what type of Julian info strptime parses since I just
follow the formats for strftime.

But when Guido implements the new datetime type this argument will change
since both versions that he is considering do not include any Julian days
or dates.  There could be fxns, though (mine could actually be used), that
do calculate various Julian values and those can be abundantly clear on
what they return.