Author techtonik
Recipients techtonik
Date 2010-01-09.17:15:39
SpamBayes Score 0.00134472
Marked as misclassified No
Message-id <1263057341.16.0.947515103763.issue7662@psf.upfronthosting.co.za>
In-reply-to
Content
The proposal to add the function that will allow to get current UTC offset. Do we need a PEP for this one?

def time.utcoffset():
  """Return current UTC offset in seconds"""
  return -(time.altzone if time.daylight else time.timezone)
History
Date User Action Args
2010-01-09 17:15:41techtoniksetrecipients: + techtonik
2010-01-09 17:15:41techtoniksetmessageid: <1263057341.16.0.947515103763.issue7662@psf.upfronthosting.co.za>
2010-01-09 17:15:39techtoniklinkissue7662 messages
2010-01-09 17:15:39techtonikcreate