Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57389 > unrolled thread
| Started by | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| First post | 2013-10-23 13:56 -0700 |
| Last post | 2013-10-23 13:56 -0700 |
| 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.
Re: Confused about timezones Ethan Furman <ethan@stoneleaf.us> - 2013-10-23 13:56 -0700
| From | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| Date | 2013-10-23 13:56 -0700 |
| Subject | Re: Confused about timezones |
| Message-ID | <mailman.1430.1382565146.18130.python-list@python.org> |
On 10/23/2013 12:00 PM, Skip Montanaro wrote: > > >> --> LOCAL_TZ.localize(dt1).utcoffset() >> datetime.timedelta(-1, 68400) >> --> LOCAL_TZ.localize(dt2).utcoffset() >> datetime.timedelta(-1, 64800) >> >> Why is the UTC offset the same for both datetime objects despite the >> presence/absence of Daylight Savings? > > Brain freeze! A quick glance told me they were the same, when they > actually are different (68400, 64800). Sorry for the needless noise. Don't feel too bad, doesn't look like anybody else noticed either! ;) -- ~Ethan~
Back to top | Article view | comp.lang.python
csiph-web