[issue4086] support %z format in time.strftime and _strptime?

2010-10-15 Thread Georg Brandl

Changes by Georg Brandl :


--
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4086] support %z format in time.strftime and _strptime?

2010-10-14 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

Closing as a duplicate of (closed) issue 6641.

time.strftime appears to support %z on the platforms that support it in C 
strftime:


>>> time.strftime("%z", time.localtime())
'-0400'

--
dependencies:  -No obvious and correct way to get the time zone offset
resolution:  -> duplicate
superseder:  -> datetime.strptime doesn't support %z format ?

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4086] support %z format in time.strftime and _strptime?

2010-08-07 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
versions: +Python 3.2 -Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4086] support %z format in time.strftime and _strptime?

2010-06-11 Thread Alexander Belopolsky

Changes by Alexander Belopolsky :


--
assignee:  -> belopolsky
dependencies: +No obvious and correct way to get the time zone offset
nosy: +belopolsky

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4086] support %z format in time.strftime and _strptime?

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4086] support %z format in time.strftime and _strptime?

2008-10-09 Thread Skip Montanaro

New submission from Skip Montanaro <[EMAIL PROTECTED]>:

While responding to a c.l.py question just now I discovered that
numeric timezone offsets don't appear to be supported by either the
time.strftime function or the _strptime module.  I noticed on my
Mac's strftime(3) man page that it supports a %Z format for TZ
names and a %z format for numeric tz offsets.  It seems Python
should as well.

--
messages: 74570
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: support %z format in time.strftime and _strptime?
type: feature request
versions: Python 2.6

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com