Re: time.localtime add a parameter for timezone

2020-02-25 Thread Peter J. Holzer
On 2020-02-24 17:43:58 +, Rhodri James wrote: > On 24/02/2020 17:21, Dieter Maurer wrote: > > qbit wrote at 2020-2-24 05:18 -0800: > > > How about adding a time zone parameter to time.localtime? > > > > > > A offset just like the form: ± hh[:mm[:ss]]. > > > > Why should this be necessary? `l

Re: time.localtime add a parameter for timezone

2020-02-24 Thread Rhodri James
On 24/02/2020 17:21, Dieter Maurer wrote: qbit wrote at 2020-2-24 05:18 -0800: How about adding a time zone parameter to time.localtime? A offset just like the form: ± hh[:mm[:ss]]. Why should this be necessary? `localtime` returns the time in the "local timezone" -- and the "local timezone"

Re: time.localtime add a parameter for timezone

2020-02-24 Thread Dieter Maurer
qbit wrote at 2020-2-24 05:18 -0800: >How about adding a time zone parameter to time.localtime? > >A offset just like the form: ± hh[:mm[:ss]]. Why should this be necessary? `localtime` returns the time in the "local timezone" -- and the "local timezone" usually does not change between different

time.localtime add a parameter for timezone

2020-02-24 Thread qbit
How about adding a time zone parameter to time.localtime? A offset just like the form: ± hh[:mm[:ss]]. -- https://mail.python.org/mailman/listinfo/python-list