changeset 37:3b23c60191e0

Add note on daylight savings time.
author cmlenz
date Mon, 04 Jun 2007 16:14:03 +0000
parents 2e143f1a0003
children 06b876ed5501
files doc/formatting.txt
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/formatting.txt
+++ b/doc/formatting.txt
@@ -225,6 +225,12 @@
     >>> 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/
 
 
Copyright (C) 2012-2017 Edgewall Software