Share one date formatter, and stop describing files that are gone
Two components each carried the same four lines turning a date into an ISO string from local parts. They now share one helper, deliberately separate from the one that formats in UTC: substituting one for the other shifts the day by one anywhere east of Greenwich, Sweden included, so a test pins the difference rather than a comment asking nicely. Creating a period ran its own copy of the sync-and-report sequence purely so it could name a wish the lookup could not yet see; it now passes that wish to the ordinary path instead. Two comments still explained their relationship to components deleted some time ago, which would send the next reader looking for files that are not there, and some styling outlived the markup it described.
This commit is contained in:
@@ -304,10 +304,6 @@
|
||||
color: var(--c-danger);
|
||||
}
|
||||
|
||||
.plan-fold__success {
|
||||
color: var(--c-success);
|
||||
}
|
||||
|
||||
/* Button Styles */
|
||||
button {
|
||||
background-color: var(--c-accent);
|
||||
|
||||
@@ -142,12 +142,6 @@
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
/* Progress chart */
|
||||
.progress-chart__stats {
|
||||
flex-direction: column;
|
||||
gap: var(--sp-2);
|
||||
}
|
||||
|
||||
/* Calendar responsiveness */
|
||||
.calendar__grid {
|
||||
font-size: var(--fs-sm);
|
||||
@@ -193,10 +187,6 @@
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.progress-chart__fill {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.header__nav-link,
|
||||
.header__logout-button,
|
||||
.header__child-select,
|
||||
|
||||
Reference in New Issue
Block a user