summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a617ae0)
raw | patch | inline | side by side (parent: a617ae0)
author | schlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 29 Sep 2010 07:49:09 +0000 (07:49 +0000) | ||
committer | schlatterbeck <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 | patch | blob | history |
diff --git a/roundup/date.py b/roundup/date.py
index f857bf7c969103488280ffa7777a8352a6248607..cedc6d4954e2189605e807ca786128385357b0a8 100644 (file)
--- a/roundup/date.py
+++ b/roundup/date.py
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)