diff options
| author | Fuwn <[email protected]> | 2026-04-18 09:34:12 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-04-18 09:34:12 +0000 |
| commit | 3bd49331850b307f026a8648bdd57a743b227fc4 (patch) | |
| tree | cc94ea5b35cde6b47497652bf9b2ec8797f541cb /src/lib/Tools/InputTemplate.svelte | |
| parent | refactor(naming): replace banned ctx abbreviation with full names (diff) | |
| download | due.moe-3bd49331850b307f026a8648bdd57a743b227fc4.tar.xz due.moe-3bd49331850b307f026a8648bdd57a743b227fc4.zip | |
refactor(wrapped): simplify redundant new Date(Date.now()) calls
new Date(Date.now()) is identical to new Date() and was called twice
back-to-back to seed currentYear and selectedYear to the same value.
Call new Date() once for currentYear and reuse it for selectedYear.
Diffstat (limited to 'src/lib/Tools/InputTemplate.svelte')
0 files changed, 0 insertions, 0 deletions