diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-28 13:36:06 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-02-01 13:20:59 +0100 |
commit | 6016aebe68d9d1720feb932db679a1b5cb234146 (patch) | |
tree | e877539f31b18f0323a2a4be1fcce2a84433c060 /doc/ref/javascript/lib.texi | |
parent | Note use of jcal in README. (diff) | |
download | calp-6016aebe68d9d1720feb932db679a1b5cb234146.tar.gz calp-6016aebe68d9d1720feb932db679a1b5cb234146.tar.xz |
Clarify javascript parseDate.
Diffstat (limited to 'doc/ref/javascript/lib.texi')
-rw-r--r-- | doc/ref/javascript/lib.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ref/javascript/lib.texi b/doc/ref/javascript/lib.texi index ec5d4450..8adb8621 100644 --- a/doc/ref/javascript/lib.texi +++ b/doc/ref/javascript/lib.texi @@ -102,6 +102,9 @@ Boolean indicating if the time component of the Date object should be disregarde @defun parseDate str Takes a string @var{str}, which should be in ISO-8601 date-format, and returns a javascript Date object. +Handles date-times, with and without seconds, trailing `Z' for +time-zones, and dates without times. +If no time is given the @code{dateonly} attribute is set to yes. @end defun @defun copyDate date |