Module format

Source
Expand description

Constantsยง

DEFAULT
E.g. Thu Sep 4 10:45:06 2022 -0400. This is output by git log --pretty=%ad.
GITOXIDE
E.g. Thu Sep 04 2022 10:45:06 -0400, like the git DEFAULT, but with the year and time fields swapped.
GIT_RFC2822
E.g. Thu, 8 Aug 2022 12:45:06 +0800. This is output by git log --pretty=%aD.
ISO8601
E.g. 2022-08-17 22:04:58 +0200
ISO8601_STRICT
E.g. 2022-08-17T21:43:13+08:00
RAW
E.g. 1660874655 +0800
RFC2822
E.g. Thu, 18 Aug 2022 12:45:06 +0800
SHORT
E.g. 2018-12-24
UNIX
E.g. 123456789