contacts: format_timestamp treats Unix seconds as days #76
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#76
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?
contact_detail.rs:273-287doeslet days = ts / 86400then checks against 365.created_at/updated_atare Unix seconds (~1.7e9), so every real timestamp renders as ~55 000 years ago.Fix: match the messaging pattern — diff against
platform::current_timestamp_ms() / 1000, format relative or absolute based on age.zaelgohary referenced this issue2026-04-20 08:10:23 +00:00
Dropping this. We decided not to show Created/Updated to users, so no formatter is needed. #77 still covers the server-state correctness piece (form no longer zeroes stored timestamps).