summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@debian.org>2016-04-09 13:22:32 +0000
committerJelmer Vernooij <jelmer@debian.org>2016-04-09 13:26:40 +0000
commitf8588f337fc1f39d50b23b8d00360f806f692d33 (patch)
treeb1f6889d8b8f9a7bef432ac73329c2f8061aaf76 /debian/patches
parent7aa378e682d7641711125e93749202c3b4d7a3f3 (diff)
Convert package to source format 3.0 (quilt).
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0003-Treat-untils-as-floating.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/0003-Treat-untils-as-floating.patch b/debian/patches/0003-Treat-untils-as-floating.patch
index 9f110d0..623ec8c 100644
--- a/debian/patches/0003-Treat-untils-as-floating.patch
+++ b/debian/patches/0003-Treat-untils-as-floating.patch
@@ -7,12 +7,12 @@ Subject: Treat untils as floating
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/vobject/icalendar.py b/vobject/icalendar.py
-index 4a1da7c..b960deb 100644
+index c49dbbb..120b252 100644
--- a/vobject/icalendar.py
+++ b/vobject/icalendar.py
-@@ -427,6 +427,18 @@ class RecurringComponent(Component):
- if dtstart.tzinfo is not None:
- until = until.astimezone(dtstart.tzinfo)
+@@ -451,6 +451,18 @@ class RecurringComponent(Component):
+ if dtstart.tzinfo is None:
+ until = until.replace(tzinfo=None)
+ # RFC2445 actually states that UNTIL must be a UTC value. Whilst the
+ # changes above work OK, one problem case is if DTSTART is floating but
@@ -27,5 +27,5 @@ index 4a1da7c..b960deb 100644
+ until = until.replace(tzinfo=None)
+
rule._until = until
-
+
# add the rrule or exrule to the rruleset