Re: [Datetime-SIG] PEP 495 and the hardest problem in computer science
On Wed, Jun 29, 2016, at 14:56, Alexander Belopolsky wrote:
On Wed, Jun 29, 2016 at 2:35 PM, Random832 <random832@fastmail.com> wrote:
Er, I was talking about using it as a naive time using the london timezone.
Well, "a naive time using a timezone" is a misnomer.
"using the london timezone" was meant to modify "using it", not "naive time".
Note that the result of conversion to UTC is different for t0 and t1 when they are interpreted as NY times, but the same when they are interpreted as London time.
I'm pretty sure you just proved *my* point - that the flag is meaningless outside of the timezone the time was originally created for [or timezones that happen to have an identical fold] - so maybe I didn't explain it clearly in the first place. It seems to go against the concept of a naive time to contain data that is only relevant to some specific timezone.
I think this all has been explained in the PEP, but discussions like this may be helpful for writing the documentation.
participants (1)
-
Random832