commit 061ee65e379903b23c9085cc49cb071615f252fb
parent 300318306d5fa06063a0b0621fe9cb505c6f3e85
Author: Vlad-Stefan Harbuz <vlad@vladh.net>
Date: Thu, 6 Jan 2022 08:44:08 +0100
add ISO8601 format constant
Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/datetime/format.ha b/datetime/format.ha
@@ -7,6 +7,8 @@ use strings;
use strio;
use time::chrono;
+export def ISO8601: str = "%FT%T";
+
def WEEKDAYS: [_]str = [
"Monday",
"Tuesday",