[Python-bugs-list] [ python-Feature Requests-414029 ] Request for time.standardtime(secs)

noreply@sourceforge.net noreply@sourceforge.net
Mon, 16 Dec 2002 20:11:22 -0800


Feature Requests item #414029, was opened at 2001-04-05 11:38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=414029&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Cera (timcera)
>Assigned to: Tim Peters (tim_one)
Summary: Request for time.standardtime(secs)

Initial Comment:
The time.localtime(secs) function always sets the dst
flag to 1 and applies daylight savings time for that
time zone.  There isn't an easy way to get 'standard'
time.  A time.standardtime(secs) function would not
apply the daylight savings time correction, set the dst
flag to 0 (or -1?), but would correct for time zone
difference from UTC. 

thanks
tim cera

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-12-16 23:11

Message:
Logged In: YES 
user_id=33168

Tim (Peters), here's another date/time one.  This seems to
already work for time.gmtime() which returns 0 for tm_isdst.
 Can this be closed?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=414029&group_id=5470