From 6016aebe68d9d1720feb932db679a1b5cb234146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 28 Jan 2021 13:36:06 +0100 Subject: Clarify javascript parseDate. --- doc/ref/javascript/lib.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3