Commit c206aa7
committed
fix: derive tracker "days ago" label from the pill count
The left label shows how far back the chart reaches. It was computed
from the oldest pill's date against the current time and rounded to
whole days, so the same chart could read "45 days ago" or "44 days ago"
depending on when you looked. The chart always renders a fixed number
of pills, so the label now reflects that count and stays constant.1 parent 37b3314 commit c206aa7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
0 commit comments