]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Add note on daylight savings time.
authorChristopher Lenz <cmlenz@gmail.com>
Mon, 4 Jun 2007 16:14:03 +0000 (16:14 +0000)
committerChristopher Lenz <cmlenz@gmail.com>
Mon, 4 Jun 2007 16:14:03 +0000 (16:14 +0000)
doc/formatting.txt

index 6bc48bff4d02e0d7aef7ccce6e767cc69ea01042..4d104187ad4b9fab762bf4c52a9f47eef319bf1d 100644 (file)
@@ -225,6 +225,12 @@ unchanged::
     >>> format_datetime(dt, 'H:mm zzzz', tzinfo=british, locale='en_US')
     u'16:30 British Summer Time'
 
+Here, the given UTC time is adjusted to the "Europe/London" time-zone, and
+daylight savings time is taken into account. Daylight savings time is also
+applied to ``format_time``, but because the actual date is unknown in that
+case, the current day is assumed to determine whether DST or standard time
+should be used.
+
  .. _`pytz`: http://pytz.sourceforge.net/