From 200c0bc92203f2103805f1d09602b02800a8593a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 10 Oct 2021 15:13:46 +0200 Subject: Mostly fix datetime values in frontend. --- static/lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/lib.ts') diff --git a/static/lib.ts b/static/lib.ts index 35b6f867..26735bd1 100644 --- a/static/lib.ts +++ b/static/lib.ts @@ -94,7 +94,7 @@ function parseDate(str: string): Date { day = +str.substr(8, 2); break; default: - throw 'Bad argument'; + throw `"${str}" doesn't look like a date/-time string` } let date; -- cgit v1.2.3