From aa9990e6edaea095f403ee22db027c9f46bc9dad Mon Sep 17 00:00:00 2001 From: schlatterbeck Date: Wed, 29 Sep 2010 07:49:09 +0000 Subject: [PATCH] - 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 --- roundup/date.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2