fix(billing): count the renewal grace in calendar days #179
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-payment!179
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/grace-calendar-days"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Grace in calendar days (#155)
The renewal grace was
periodEnd + 8 * 24h. A day across the spring clock change is 23 hours, so a period ending around 22 to 28 March got a grace that ended at 00:59:59.999 the next day. The portal showed the wrong date and access ended almost an hour late.renewalGraceEnd(periodEnd): Amsterdam midnight of the eighth day after the period end's day, minus 1 ms.graceEndsAtinsubscriptionStatusand the sweep'sisDueshare it.Tests
8 * DAY.Release
Version 0.16.0. This is the last PR of the batch: merge #178 first. Squash-merge, so the intermediate 0.15.1 commit does not land.
Closes #155
399dbebd60c7e6841106