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:
@@ -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) });
|
||||
|
Reference in New Issue
Block a user