diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-09 13:17:31 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-09 13:17:31 +0200 |
commit | 45edc9cd1be13899b9d65372480bbcd84511d314 (patch) | |
tree | f052b03b535b4d9af94e7f4214bcb0436a6f3543 /module/vcomponent/datetime.scm | |
parent | Clean up util header. (diff) | |
download | calp-45edc9cd1be13899b9d65372480bbcd84511d314.tar.gz calp-45edc9cd1be13899b9d65372480bbcd84511d314.tar.xz |
Start work on making DTEND optional.optional-dtend
Diffstat (limited to '')
-rw-r--r-- | module/vcomponent/datetime.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/vcomponent/datetime.scm b/module/vcomponent/datetime.scm index 44776516..7fc22066 100644 --- a/module/vcomponent/datetime.scm +++ b/module/vcomponent/datetime.scm @@ -107,6 +107,7 @@ Event must have the DTSTART and DTEND attribute set." (define-public (long-event? ev) (or (date? (attr ev 'DTSTART)) (datetime<= (datetime date: (date day: 1)) + ;; TODO DTEND optional (datetime-difference (attr ev 'DTEND) (attr ev 'DTSTART))))) |