diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-10-10 15:13:46 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-10-10 15:13:46 +0200 |
commit | 200c0bc92203f2103805f1d09602b02800a8593a (patch) | |
tree | a79112bb06a1b759b4f766cb3c62cbd7243c73bc /static/lib.ts | |
parent | Drive popup tabs through javascript. (diff) | |
download | calp-200c0bc92203f2103805f1d09602b02800a8593a.tar.gz calp-200c0bc92203f2103805f1d09602b02800a8593a.tar.xz |
Mostly fix datetime values in frontend.
Diffstat (limited to 'static/lib.ts')
-rw-r--r-- | static/lib.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |