Changeset 8192 for main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py
- Timestamp:
- 17 Apr 2012, 11:19:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py
r8185 r8192 569 569 570 570 If no `tz` is given, shift to UTC is performed. 571 """ 571 572 If `dt` is not a datetime.datetime, the input value is returned 573 unchanged. 574 """ 575 if not isinstance(dt, datetime.datetime): 576 return dt 572 577 if tz is None: 573 578 tz = pytz.utc
Note: See TracChangeset for help on using the changeset viewer.