hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 6c68f0163ba62554c1b2f750c25fe723c0de83f8
parent b84158453d6b3015641fb9647b16626127e6f972
Author: Byron Torres <b@torresjrjr.com>
Date:   Sat, 29 Jan 2022 09:47:01 +0000

add convenient EMAILZ format

Signed-off-by: Byron Torres <b@torresjrjr.com>

Diffstat:
Mdatetime/format.ha | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/datetime/format.ha b/datetime/format.ha @@ -7,9 +7,10 @@ use strings; use strio; use time::chrono; -export def RFC3339: str = "%Y-%m-%dT%H:%M:%S%z"; export def EMAIL: str = "%a, %d %b %Y %H:%M:%S %z"; +export def EMAILZ: str = "%a, %d %b %Y %H:%M:%S %z %Z"; export def POSIX: str = "%a %b %d %H:%M:%S %Z %Y"; +export def RFC3339: str = "%Y-%m-%dT%H:%M:%S%z"; export def STAMP: str = "%Y-%m-%d %H:%M:%S"; export def STAMP_NANO: str = "%Y-%m-%d %H:%M:%S.%N";