pub fn when(millis: Option<u64>) -> StringExpand description
A timestamp for the plain faces: xsd:dateTime in UTC, or a note that the kernel had
no clock.
use ikigai_script::model::when;
assert_eq!(when(Some(1_789_430_400_000)), "2026-09-15T00:00:00.000Z");
assert_eq!(when(Some(0)), "1970-01-01T00:00:00.000Z");
assert_eq!(when(None), "unstamped (the kernel has no clock)");