1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-26 07:14:22 +02:00

fix seeking dates on safari

This commit is contained in:
Morris Brodersen
2022-08-06 16:55:39 +02:00
parent fb3783cc8b
commit 978f911080
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ export function TodoStore(el) {
);
el.addEventListener('seekDays', (e) => {
const t = new Date(`${state.at} 00:00:00`);
const t = new Date(`${state.at}T00:00:00`);
t.setDate(t.getDate() + e.detail);
dispatch({ at: formatDateId(t) });