From 2bddf0dcd9337d3e7ee8cb5d773ba94e01bff244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 23 Nov 2020 22:48:18 +0100 Subject: Found out some inconvinient truths about the format. --- static/rrule.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'static/rrule.js') 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 + 12 + NOT as 1,2 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. elements are either + or , NOT a raw date. + */ get: () => this['_' + f], set: (v) => { this['_' + f] = v -- cgit v1.2.3