-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix todo dtstart values for floating due dates (#313)
* Fix for dtstart persisted with an invalid timezone * Remove comments * Entirely remove invalid dtstart values * Bump to 7.0.3 * Address lint errors
- Loading branch information
1 parent
7f1e660
commit 219071f
Showing
4 changed files
with
36 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1101,7 +1101,6 @@ | |
]), | ||
'classification': 'CONFIDENTIAL', | ||
'dtstamp': '2007-03-13T12:34:32+00:00', | ||
'dtstart': '2007-05-01T11:00:00+00:00', | ||
'due': '2007-05-01T11:00:00-07:00', | ||
'status': 'NEEDS-ACTION', | ||
'summary': 'Submit Quebec Income Tax Return for 2006', | ||
|
@@ -1110,13 +1109,24 @@ | |
dict({ | ||
'completed': '2007-07-07T10:00:00+00:00', | ||
'dtstamp': '2007-05-14T10:32:11+00:00', | ||
'dtstart': '2007-05-14T11:00:00+00:00', | ||
'due': '2007-07-09T13:00:00+00:00', | ||
'priority': 1, | ||
'status': 'NEEDS-ACTION', | ||
'summary': 'Submit Revised Internet-Draft', | ||
'uid': '[email protected]', | ||
}), | ||
dict({ | ||
'categories': list([ | ||
'FAMILY', | ||
'FINANCE', | ||
]), | ||
'classification': 'CONFIDENTIAL', | ||
'dtstamp': '2007-03-13T12:34:32+00:00', | ||
'due': '2007-05-01T11:00:00', | ||
'status': 'NEEDS-ACTION', | ||
'summary': 'Floating due datetime', | ||
'uid': '[email protected]', | ||
}), | ||
]), | ||
'version': '2.0', | ||
}), | ||
|
@@ -1845,7 +1855,6 @@ | |
CATEGORIES:FAMILY | ||
CATEGORIES:FINANCE | ||
CLASS:CONFIDENTIAL | ||
DTSTART:20070501T110000Z | ||
DUE;TZID=America/Los_Angeles:20070501T110000 | ||
STATUS:NEEDS-ACTION | ||
SUMMARY:Submit Quebec Income Tax Return for 2006 | ||
|
@@ -1854,12 +1863,21 @@ | |
DTSTAMP:20070514T103211Z | ||
UID:[email protected] | ||
COMPLETED:20070707T100000Z | ||
DTSTART:20070514T110000Z | ||
DUE:20070709T130000Z | ||
PRIORITY:1 | ||
STATUS:NEEDS-ACTION | ||
SUMMARY:Submit Revised Internet-Draft | ||
END:VTODO | ||
BEGIN:VTODO | ||
DTSTAMP:20070313T123432Z | ||
UID:[email protected] | ||
CATEGORIES:FAMILY | ||
CATEGORIES:FINANCE | ||
CLASS:CONFIDENTIAL | ||
DUE:20070501T110000 | ||
STATUS:NEEDS-ACTION | ||
SUMMARY:Floating due datetime | ||
END:VTODO | ||
END:VCALENDAR | ||
''' | ||
# --- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,14 @@ COMPLETED:20070707T100000Z | |
PRIORITY:1 | ||
STATUS:NEEDS-ACTION | ||
END:VTODO | ||
BEGIN:VTODO | ||
UID:20070313T123432Z[email protected] | ||
DTSTAMP:20070313T123432Z | ||
SUMMARY:Floating due datetime | ||
DTSTART;TZID=CST:20070501T110000 | ||
DUE:20070501T110000 | ||
CLASS:CONFIDENTIAL | ||
CATEGORIES:FAMILY,FINANCE | ||
STATUS:NEEDS-ACTION | ||
END:VTODO | ||
END:VCALENDAR |