format_time(0) renders misleading "00:00" #55
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
format_time(0)returned"00:00"(looks like a real clock time) andformat_relative_time(0)routed throughformat_date(0)and rendered something nearJan 1 1970. Both are confusing when the real meaning is 'no timestamp available'.Fix: return
""early fortimestamp == 0in both helpers.zaelgohary referenced this issue2026-04-19 08:29:02 +00:00
bug: format_time / format_relative_time show misleading output for timestamp=0to format_time(0) renders misleading "00:00"zaelgohary referenced this issue from lhumina_code/hero_os2026-04-19 09:26:23 +00:00
Fixed by #56.