Changeset 2373

Show
Ignore:
Timestamp:
07/31/07 02:54:26 (1 year ago)
Author:
abaumann
Message:

fix exception "can't compare offset-naive and offset-aware datetimes" in rrule processing

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/moto-sync/motosync.py

    r2371 r2373  
    562562 
    563563    # what events would happen if there were no exceptions? 
    564     now = datetime.now(
     564    now = datetime.now(dateutil.tz.tzutc()
    565565    all_occurrences = ruleset.between(now, now + RRULE_FUTURE) 
    566566