feature: copy ranges

This commit is contained in:
2022-06-27 21:27:37 +02:00
parent b5d5338002
commit 13dae00a2c
4 changed files with 69 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ export const ISOToDate = (str: string|null): Date|null => {
let
[year, month, day] = str.split('-').map(p => parseInt(p));
return new Date(year, month-1, day);
return new Date(year, month-1, day, 0, 0, 0, 0);
}
/**