On Thu, Jul 30, 2015 at 10:05 AM, Guido van Rossum <[email protected]> wrote:
> [Alexander Belopolsky] > >> >> As far as I understand, NodaTime to Python dictionary would have the >> >> following translations: >> >> >> >> LocalDatetime: datetime with tzinfo=None (naive datetime) >> > >> > That's all fine, but my point remains, that the tz-less datetime object > does *not* always mean local time. The definition I quoted from Alexander > conflated the two, incorrectly IMO. > I agree with that, but it is my understanding that Noda's LocalDatetime concept most closely matches our "naive datetime" concept. According to Noda documentation, LocalDatetime is "A date and time in a particular calendar system. A LocalDateTime value does not represent an instant on the time line, because it has no associated time zone: "November 12th 2009 7pm, ISO calendar" occurred at different instants for different people around the world." [1] Since it "has no associated time zone," it "does *not* always mean local time" even thought it has "Local" in the name. [1]: http://nodatime.org/1.2.x/api/html/T_NodaTime_LocalDateTime.htm
_______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
