From 689144d496d8c609eaddae16b5de2be847f59db8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 30 Jun 2013 16:07:35 -0400 Subject: [PATCH] test/data/geohash.ics: Separate lat/lon with a semicolon From RFC 5545, section 3.8.1.6 (Geographic Position): Value Type: FLOAT. The value MUST be two SEMICOLON-separated FLOAT values. --- pycalendar/aggregator.py | 2 +- pycalendar/entry.py | 2 +- pycalendar/feed.py | 4 ++-- test/data/geohash.ics | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pycalendar/aggregator.py b/pycalendar/aggregator.py index 07c5b3a..8c20cc9 100644 --- a/pycalendar/aggregator.py +++ b/pycalendar/aggregator.py @@ -54,7 +54,7 @@ class Aggregator (list): SUMMARY:XKCD geohashing\, Boston graticule URL:http://xkcd.com/426/ LOCATION:Snow Hill\, Dover\, Massachusetts - GEO:42.226663,-71.28676 + GEO:42.226663;-71.28676 END:VEVENT END:VCALENDAR diff --git a/pycalendar/entry.py b/pycalendar/entry.py index 46bf3b6..f065037 100644 --- a/pycalendar/entry.py +++ b/pycalendar/entry.py @@ -39,7 +39,7 @@ class Entry (dict): SUMMARY:XKCD geohashing\, Boston graticule URL:http://xkcd.com/426/ LOCATION:Snow Hill\, Dover\, Massachusetts - GEO:42.226663,-71.28676 + GEO:42.226663;-71.28676 END:VEVENT END:VCALENDAR diff --git a/pycalendar/feed.py b/pycalendar/feed.py index b9ae0c7..64dc452 100644 --- a/pycalendar/feed.py +++ b/pycalendar/feed.py @@ -50,7 +50,7 @@ class Feed (_entry.Entry): SUMMARY:XKCD geohashing\, Boston graticule URL:http://xkcd.com/426/ LOCATION:Snow Hill\, Dover\, Massachusetts - GEO:42.226663,-71.28676 + GEO:42.226663;-71.28676 END:VEVENT END:VCALENDAR @@ -77,7 +77,7 @@ class Feed (_entry.Entry): SUMMARY:XKCD geohashing\, Boston graticule URL:http://xkcd.com/426/ LOCATION:Snow Hill\, Dover\, Massachusetts - GEO:42.226663,-71.28676 + GEO:42.226663;-71.28676 END:VEVENT """ def __init__(self, url, user_agent=None): diff --git a/test/data/geohash.ics b/test/data/geohash.ics index 129150d..51260ab 100644 --- a/test/data/geohash.ics +++ b/test/data/geohash.ics @@ -9,6 +9,6 @@ DTEND;VALUE=DATE:20130701 SUMMARY:XKCD geohashing\, Boston graticule URL:http://xkcd.com/426/ LOCATION:Snow Hill\, Dover\, Massachusetts -GEO:42.226663,-71.28676 +GEO:42.226663;-71.28676 END:VEVENT END:VCALENDAR -- 2.26.2