New submission from anatoly techtonik <techto...@gmail.com>:

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)

----------
components: Library (Lib)
messages: 97463
nosy: techtonik
severity: normal
status: open
title: time.utcoffset(dst=true)
versions: Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7662>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to