Code

- add comment to clarify semantics if pytz is installed
authorschlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 29 Sep 2010 07:49:09 +0000 (07:49 +0000)
committerschlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 29 Sep 2010 07:49:09 +0000 (07:49 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4528 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/date.py

index f857bf7c969103488280ffa7777a8352a6248607..cedc6d4954e2189605e807ca786128385357b0a8 100644 (file)
@@ -522,6 +522,7 @@ class Date:
 
     def local(self, offset):
         """ Return this date as yyyy-mm-dd.hh:mm:ss in a local time zone.
+            The offset is a pytz tz offset if pytz is installed.
         """
         y, m, d, H, M, S = _utc_to_local(self.year, self.month, self.day,
                 self.hour, self.minute, self.second, offset)