1.1 --- a/imip_store.py Sun Sep 13 18:23:42 2015 +0200
1.2 +++ b/imip_store.py Sun Sep 13 19:00:15 2015 +0200
1.3 @@ -22,7 +22,7 @@
1.4 from datetime import datetime
1.5 from imiptools.config import STORE_DIR, PUBLISH_DIR
1.6 from imiptools.data import make_calendar, parse_object, to_stream
1.7 -from imiptools.dates import format_datetime, get_datetime
1.8 +from imiptools.dates import format_datetime, get_datetime, to_timezone
1.9 from imiptools.filesys import fix_permissions, FileBase
1.10 from imiptools.period import FreeBusyPeriod
1.11 from os.path import exists, isfile, join
1.12 @@ -597,7 +597,7 @@
1.13
1.14 offers = []
1.15 expired = []
1.16 - now = datetime.now()
1.17 + now = to_timezone(datetime.now(), "UTC")
1.18
1.19 # Expire old offers and save the collection if modified.
1.20