lehkej spinkák update
This commit is contained in:
parent
9b5e607458
commit
207be5a8c9
@ -126,6 +126,7 @@ function strToDate(str: string) {
|
||||
neco = /^((?<d>\d+)\. ?((?<mo>\d+)\.)? ?)?(?<h>\d+)(:(?<m>\d+)(:(?<s>\d+))?)? ?(?<p>am|pm)?$/.exec(str.toLowerCase());
|
||||
if (neco) {
|
||||
const g = neco.groups!;
|
||||
if (typeof g.m == "undefined" && typeof g.p == "undefined") return [];
|
||||
if (g.d) cas.setDate(Number(g.d));
|
||||
if (g.mo) cas.setMonth(Number(g.mo) - 1);
|
||||
const h = Number(g.h);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user