Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7229] Manual entry for time.daylight can be misleading

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Oct 28, 2009, 2:44 AM

Post #1 of 1 (40 views)
Permalink
[issue7229] Manual entry for time.daylight can be misleading

New submission from Tomas Kubes <mr_napik[at]centrum.cz>:

Hello,

it is not obvious that the time.daylight data item reports nonzero
values even when DST is currently not being used (ie. in winter) but the
active timezone has DST defined for some other parts of the year.

Current manual entry can be misleadingly interpreted that time.daylight
acts as a current DST idicator (which it does not).

Suggested FIX: Add a sentence:
This value does not idicate that DST is currently active, but rather
describes that current timezone can have DST. Use localtime() dst flag
to determine if DST applies to the given time.


Tomas

----------
assignee: georg.brandl
components: Documentation
messages: 94621
nosy: georg.brandl, napik
severity: normal
status: open
title: Manual entry for time.daylight can be misleading
type: feature request
versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue7229>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.