~ubuntu-branches/ubuntu/wily/python-tz/wily

« back to all changes in this revision

Viewing changes to README.txt

  • Committer: Package Import Robot
  • Author(s): Arnaud Fontaine
  • Date: 2012-06-06 11:10:31 UTC
  • mto: (17.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120606111031-lh9jxx23y0dzzv90
Tags: upstream-2012c
ImportĀ upstreamĀ versionĀ 2012c

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
>>> normal = datetime(2009, 9, 1)
177
177
>>> ambiguous = datetime(2009, 10, 31, 23, 30)
178
178
 
179
 
the ``is_dst`` parameter is ignormed for most timestamps, but
180
 
is used to resolve the ambiguity during ambiguous periods caused
181
 
to DST transitions.
 
179
The ``is_dst`` parameter is ignored for most timestamps. It is only used
 
180
during DST transition ambiguous periods to resulve that ambiguity.
182
181
 
183
182
>>> tz.utcoffset(normal, is_dst=True)
184
183
datetime.timedelta(-1, 77400)