From: schlatterbeck Date: Wed, 29 Sep 2010 07:49:09 +0000 (+0000) Subject: - add comment to clarify semantics if pytz is installed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aa9990e6edaea095f403ee22db027c9f46bc9dad;p=roundup.git - add comment to clarify semantics if pytz is installed git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4528 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/date.py b/roundup/date.py index f857bf7..cedc6d4 100644 --- a/roundup/date.py +++ b/roundup/date.py @@ -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)