fix: correct week count in period tracker relative dates
All checks were successful
CI / update (push) Successful in 3m44s
All checks were successful
CI / update (push) Successful in 3m44s
Math.floor(days/7) was off by one — e.g. 12 days away showed "in 1 week" instead of "in 2 weeks". Using Math.ceil matches colloquial usage.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "homepage",
|
||||
"version": "1.23.1",
|
||||
"version": "1.23.2",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user