diff options
Diffstat (limited to 'static/rrule.js')
-rw-r--r-- | static/rrule.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/rrule.js b/static/rrule.js index 8f3693a6..2f2120e3 100644 --- a/static/rrule.js +++ b/static/rrule.js @@ -19,6 +19,12 @@ class RRule { 'bymonthday', 'byyearday', 'byweekno', 'bymonth', 'bysetpos', 'wkst'] + /* + TODO multi valued byhour should be represented as + <byhour>1</byhour><byhour>2</byhour> + NOT as <byhour>1,2</byhour> as it currently does. + */ + constructor() { this.listeners = {} @@ -27,6 +33,11 @@ class RRule { this[f] = false; Object.defineProperty( this, f, { + /* + TODO many of the fields should be wrapped + in type tags. e.g. <until> elements are either + <date> or <date-time>, NOT a raw date. + */ get: () => this['_' + f], set: (v) => { this['_' + f] = v |