You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vitamin D rendered as 'VitaminDIU' with no unit — strippedSuffix table has 'UI' instead of 'IU' #40
So the "UI" entry never matches, and strippedSuffix("VitaminDIU") returns ("VitaminDIU", "") — markdown renders without a unit and without splitting the name. Reproduced standalone:
Real-world impact: any markdown serving with non-zero vitamin D shows up as
- VitaminDIU: 123
instead of
- VitaminD: 123 IU
Fix: change the table entry to {"IU", "IU"}. (No other field ends in UI, so the old entry was dead code from the start.) Add a unit test for strippedSuffix covering one field per suffix — would have caught this on day one.
Severity: minor (cosmetic, but visible to every user with vitamin D logged)
Activity
v0.2.0 release prep: 8 fixes for ship-blocker QA findings (#44)
DTTerastar commentedon May 19, 2026
Fixed in v1.0.0 — https://github.com/quantcli/crono-export-cli/releases/tag/v1.0.0