Closed
Description
Describe the bug
SvelteDate
is behaving weirdly, please see the REPL. I guess the underlying issue of the bugs is a reactivity issue and it might be the same for both bugs.
Reproduction
- Expected behaviour: The current month/year is shown and clicking on next updates the month/year as expected. REPL
- Bug 1: Click "next" once; the month updates as expected. Click "next" again and notice that the month stays the same. Also note that if you remove
{d.getFullYear()}
, the month updates as expected. REPL - Bug 2: Here reactivity works fine, but notice that the year is printed in the second line, even though it should only be the month. REPL
Logs
-
System Info
REPL
Severity
blocking an upgrade