mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix throwing string in datetime.js
This commit is contained in:
parent
ceebed3709
commit
9a585ffd7c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ import globalize from './globalize';
|
||||||
// "00", "00", ".000", "Z", undefined, undefined, undefined]
|
// "00", "00", ".000", "Z", undefined, undefined, undefined]
|
||||||
|
|
||||||
if (!d) {
|
if (!d) {
|
||||||
throw "Couldn't parse ISO 8601 date string '" + s + "'";
|
throw new Error("Couldn't parse ISO 8601 date string '" + s + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
// parse strings, leading zeros into proper ints
|
// parse strings, leading zeros into proper ints
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue