Skip to content

Commit 898e957

Browse files
author
Ralf Schlatterbeck
committed
- add comment to clarify semantics if pytz is installed
1 parent a7d8732 commit 898e957

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roundup/date.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ def __repr__(self):
522522

523523
def local(self, offset):
524524
""" Return this date as yyyy-mm-dd.hh:mm:ss in a local time zone.
525+
The offset is a pytz tz offset if pytz is installed.
525526
"""
526527
y, m, d, H, M, S = _utc_to_local(self.year, self.month, self.day,
527528
self.hour, self.minute, self.second, offset)

0 commit comments

Comments
 (0)