diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-30 16:44:09 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-30 16:44:09 (EDT) |
commit | 2cd65826013df34dc80c7441c4904cfa9c078fa9 (patch) | |
tree | 805ce9ce93f8adbe7439d1676238ea01ff480329 /m4/ax_check_compile_flag.m4 | |
parent | d65f1351dcfae6685c7ac6c21aec6c61a6a2714f (diff) | |
download | atsign-2cd65826013df34dc80c7441c4904cfa9c078fa9.zip atsign-2cd65826013df34dc80c7441c4904cfa9c078fa9.tar.gz atsign-2cd65826013df34dc80c7441c4904cfa9c078fa9.tar.bz2 |
README: Document formats and Git repository
Count the formats using:
grep '^".*",$' src/datetime-formats.c | wc -l
List the date formats using:
sed -n 's|^/\* \(.*\) \*/$|\1|p' src/datetime-formats.c
(But ignore 'Time only', 'ISO 8601: 1969-12-31 delimited by "T"',
'ISO 8601: 19691231 delimited by "T"', and '19691231'.)
Math to 704:
43 (date formats) * 2 (positions: before or after time) = 86
86 + 1 (time-only no-date format) = 87
87 * 8 (time formats) = 696
696 + 8 (special formats) = 704
Diffstat (limited to 'm4/ax_check_compile_flag.m4')
0 files changed, 0 insertions, 0 deletions