Repository navigation
Commit ea7b91e
fix(app): pin locale for formatMinutes so unit (linux) isn't runner-dependent
`unit (linux)` was red on this PR's head, but not because of anything
this PR touches: formatMinutes() called mins.toLocaleString() with no
explicit locale, so its output silently depended on the process's
default locale. This fork's local/dev environment produces
"60.327 min" (period as thousands separator); GitHub's ubuntu-latest
runner default locale produces "60,327 min" instead, failing the
hardcoded unit test.
This is the same root cause already diagnosed and fixed on dev directly
by PR #237 (fix/stats-format-minutes-locale, closes #236) — ported
verbatim here since #237 hasn't merged yet, so this PR's CI doesn't
have to wait on it. Will no-op once dev carries #237.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SHQKcGH7ayRe8UHJ9CAPQJ1 parent 666441e commit ea7b91e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments