diff options
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; |