Repository navigation
fix(gottext): write a bare wall clock time as the time it names - #148
Conversation
This comment has been minimized.
This comment has been minimized.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
Gates Passed
4 Quality Gates Passed
See analysis details in CodeScene
Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
[Low impact] This PR appears safe to merge; no actionable issues were found.
|
Closes #147
What
formatTimereads a bareHH:MM, such as09:30, as the time it names and writes it the same in every time zone.Why
A time stored without a day went to
new Date, which cannot read it, so the screen showed Invalid Date. A bare calendar day already keeps the day it names, and a bare time now does the same.Testing
09:30,21:05,00:00,23:59), en-US in Tokyo (09:30 AM,09:05 PM,12:00 AM), and a timestamp with and without a zone in Los Angeles.Summary by CodeRabbit
09:30, which now display consistently across locales and time zones instead of showing an invalid date.