aboutsummaryrefslogtreecommitdiff
path: root/static/rrule.js
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-11-29 22:57:06 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-11-29 22:57:06 +0100
commit6c2f567d311a80ada265f026cec800309efbeaaf (patch)
treeb26d738ef02a5101c8fd31e892b2c1917e373d09 /static/rrule.js
parentgetopt 'options' option on values. (diff)
downloadcalp-6c2f567d311a80ada265f026cec800309efbeaaf.tar.gz
calp-6c2f567d311a80ada265f026cec800309efbeaaf.tar.xz
Generated xcal now has by*-rules correct.
Diffstat (limited to '')
-rw-r--r--static/rrule.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/static/rrule.js b/static/rrule.js
index 2f2120e3..abc648af 100644
--- a/static/rrule.js
+++ b/static/rrule.js
@@ -19,12 +19,6 @@ 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 = {}
@@ -37,6 +31,7 @@ class RRule {
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.
+ by* fields should be wrapped with multiple values.
*/
get: () => this['_' + f],
set: (v) => {