Re: [Python-Dev] Add aware local time support to datetime module

2010-08-08 Thread Lennart Regebro
On Wed, Aug 4, 2010 at 19:46, Alexander Belopolsky alexander.belopol...@gmail.com wrote: [I've got no response from python-ideas, so I am forwarding to python-dev.] With addition of fixed offset timezone class and the timezone.utc instance [0], it is easy to get UTC time as an aware datetime

[Python-Dev] Add aware local time support to datetime module

2010-08-04 Thread Alexander Belopolsky
[I've got no response from python-ideas, so I am forwarding to python-dev.] With addition of fixed offset timezone class and the timezone.utc instance [0], it is easy to get UTC time as an aware datetime instance: datetime.now(timezone.utc) datetime.datetime(2010, 8, 3, 14, 16, 10, 670308,