macro_rules! datetime {
($y:literal-$m:literal-$d:literal $h:literal : $mi:literal : $s:literal) => { ... };
($y:literal-$m:literal-$d:literal $h:literal : $mi:literal : $s:literal $($tz:ident)::+) => { ... };
}Expand description
Construct a date and time from a YYYY-MM-DD HH:MM:SS[.fraction] literal.
The seconds component may be an integer (45) or a decimal (45.5, 45.123_456_789).
Fractional digits beyond nanosecond precision are ignored.