fix: use shortened dates in expanded timeline cards

This commit is contained in:
Jon Seager 2026-02-10 20:33:24 +00:00
parent 7ec422f7ce
commit a38e9aae5b
No known key found for this signature in database

View file

@ -154,7 +154,7 @@ impl TimelineEventView {
id: id.to_string(), id: id.to_string(),
entity_type, entity_type,
kind_label, kind_label,
date_label: occurred_at.format("%b %d, %Y").to_string(), date_label: occurred_at.format("%b %d, %y").to_string(),
relative_date_label: relative_date(occurred_at), relative_date_label: relative_date(occurred_at),
time_label: Some(occurred_at.format("%H:%M UTC").to_string()), time_label: Some(occurred_at.format("%H:%M UTC").to_string()),
iso_timestamp: occurred_at.to_rfc3339(), iso_timestamp: occurred_at.to_rfc3339(),