> From: Datetime-SIG <[email protected]> on > behalf of Alexander Belopolsky <[email protected]> > Sent: Wednesday, July 29, 2015 19:27 > To: Felipe Ochoa > Cc: datetime-sig > Subject: Re: [Datetime-SIG] Clearing up terminology > > On Wed, Jul 29, 2015 at 5:31 PM, Felipe Ochoa > <[email protected]> wrote: > > * Time zone: "a mapping from UTC instants to offsets" > > > > * Offset: "simply the difference between UTC and local time." > > > > * ZonedDatetime: An instant + a time zone > > > > * OffsetDatetime: An instant + an offset (which is not the same as a > > ZonedDatetime!) > > > > * LocalDatetime: A date/time in the usual "naive" sense: a combination of > > year, month, day, hour, minute, second, millisecond (soon to be nano?) > > Given this terminology and the following UNIX date utility invocation, > > $ TZ=Australia/Melbourne date +"%c%z" > Thu 30 Jul 2015 10:21:18 AM EST+1000 > > what is (a) Australia/Melbourne, (b) EST?
Australia/Melbourne is a time zone, +1000 is an offset, and EST is an accident waiting to happen. ijs _______________________________________________ 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/
