[hamster-applet] dropped the "Z" in iCal datetimes as it stood for UTC, but we need local time
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Subject: [hamster-applet] dropped the "Z" in iCal datetimes as it stood for UTC, but we need local time
- Date: Sun, 12 Jul 2009 16:22:18 +0000 (UTC)
commit 740285d16950cb1d758d765ce39240e03ea41974
Author: Toms Bauģis <toms baugis gmail com>
Date: Sun Jul 12 17:21:33 2009 +0100
dropped the "Z" in iCal datetimes as it stood for UTC, but we need local time
hamster/reports.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/hamster/reports.py b/hamster/reports.py
index fcaf839..ddeb251 100644
--- a/hamster/reports.py
+++ b/hamster/reports.py
@@ -79,7 +79,7 @@ class ReportWriter(object):
class ICalWriter(ReportWriter):
"""a lame ical writer, could not be bothered with finding a library"""
def __init__(self, path):
- ReportWriter.__init__(self, path, datetime_format = "%Y%m%dT%H%M%SZ")
+ ReportWriter.__init__(self, path, datetime_format = "%Y%m%dT%H%M%S")
self.file.write("BEGIN:VCALENDAR\nVERSION:1.0\n")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]