[Zope3-dev] tzinfo

Guido van Rossum guido@python.org
Mon, 18 Mar 2002 12:47:20 -0500


> > Maybe it should just be called dst()?
> 
> Ah! I was confused. I thought there was a symmetry and that
> comparisons would make use of both UTC offset and DST offset. I
> didn't realize it was purely informative. But I see now that I was
> still holding on to my desire to keep these two concepts separate,
> where you want to join them together. I can definitely see that
> requiring tzinfo to return a single utcoffset value, which is the
> only value that has an impact on comparisons, greatly simplifies the
> situation. So dst() would get my vote, plus a note on the wiki that,
> like tzname(), dst() returns a value that is 100% informational.

Done.

--Guido van Rossum (home page: http://www.python.org/~guido/)