Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76648 > unrolled thread

Re: How can I get the timezone time of a location?

Started byBen Finney <ben+python@benfinney.id.au>
First post2014-08-20 19:24 +1000
Last post2014-08-20 19:24 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How can I get the timezone time of a location? Ben Finney <ben+python@benfinney.id.au> - 2014-08-20 19:24 +1000

#76648 — Re: How can I get the timezone time of a location?

FromBen Finney <ben+python@benfinney.id.au>
Date2014-08-20 19:24 +1000
SubjectRe: How can I get the timezone time of a location?
Message-ID<mailman.13195.1408526682.18130.python-list@python.org>
Ben Finney <ben+python@benfinney.id.au> writes:

> luofeiyu <elearn2014@gmail.com> writes:
>
> > There is no video in the web when i open it in my firefox.
> The page describing the video also has a link to the hosted site of
> the video, see the “Video origin” field to the right side of that
> page.

The cited video contains good information, but the pace is quite fast
and Lennart's speech might be a little difficult to follow for
non-native speakers.

Here are two weblog articles he wrote on time zones and their problems
<URL:http://regebro.wordpress.com/2007/12/18/python-and-time-zones-fighting-the-beast/>
<URL:http://regebro.wordpress.com/2008/05/10/python-and-time-zones-part-2-the-beast-returns/>.

In brief: Time zones are a still-evolving system to address a thorny
real-world sociopolitical problem; and using Microsoft Windows makes it
significantly worse.

Advice: Use UTC as the canonical timezone (just as you should use
Unicode as the canonical text type) inside your application, and push
other time zones as far to the edge of your application as possible.
Avoid MS Windows entirely.

-- 
 \     “There is more to life than increasing its speed.” —Mohandas K. |
  `\                                                            Gandhi |
_o__)                                                                  |
Ben Finney

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web