Bug 383462 - fallback to DUE if no DTSTART is present

This commit is contained in:
daniel.boelzle%sun.com 2007-06-29 06:28:47 +00:00
Родитель 29a45885b4
Коммит ff2acdff5f
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -21,6 +21,7 @@
*
* Contributor(s):
* Vladimir Vukicevic <vladimir.vukicevic@oracle.com>
* Daniel Boelzle <daniel.boelzle@sun.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@ -168,7 +169,9 @@ calTodo.prototype = {
},
get recurrenceStartDate() {
return this.entryDate;
// DTSTART is optional for VTODOs, so it's unclear if RRULE is allowed then,
// so fallback to DUE if no DTSTART is present:
return this.entryDate || this.dueDate;
},
icsEventPropMap: [