Ada.Calendar.Formatting.Image(10_000) gives the string “02:46:40”, but it seems my compiler does not accept durations of 100 hours or more. I can create a workaround, but am I missing something?
The ISO 8601-1:2019 mandates [T]hh:mm:ss, so the upper limit is 100 hours - 1s. Ada RM says that if it is more than 100 hours the result implementation defined.
1 Like