Code

- add comment to clarify semantics if pytz is installed
[roundup.git] / 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)