Ticket #2163: timesince.patch

File timesince.patch, 397 bytes (added by Alex Dedul, 18 years ago)
  • timesince.py

     
    2424    else:
    2525        t = time.localtime()
    2626    if d.tzinfo:
    27         tz = LocalTimezone()
     27        tz = LocalTimezone(d)
    2828    else:
    2929        tz = None
    3030    now = datetime.datetime(t[0], t[1], t[2], t[3], t[4], t[5], tzinfo=tz)
Back to Top