aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tools/InputTemplate.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-04-18 09:34:12 +0000
committerFuwn <[email protected]>2026-04-18 09:34:12 +0000
commit3bd49331850b307f026a8648bdd57a743b227fc4 (patch)
treecc94ea5b35cde6b47497652bf9b2ec8797f541cb /src/lib/Tools/InputTemplate.svelte
parentrefactor(naming): replace banned ctx abbreviation with full names (diff)
downloaddue.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