From 3b245881a4e76f12046dddfadfee14c99973fa23 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 21 Mar 2022 18:48:29 -0400 Subject: README, build: Generate list of formats --- (limited to 'README') diff --git a/README b/README index 74ccb04..82796f6 100644 --- a/README +++ b/README @@ -18,79 +18,12 @@ user interaction. Date/Time Formats ----------------- -@ currently supports 705 date/time formats, any one of which may be -specified on the command line in one or more arguments. All spaces -shown below are optional. +@ currently supports 4341 date/time formats, any one of which may be +specified on the command line in one or more arguments. The date may be +omitted or specified before or after the time. -A time may be specified in any of the following eight formats: - - * 7:00:01 PM - * 19:00:01 - * 7:00 PM - * 19:00 - * 70001 PM - * 190001 - * 700 PM - * 1900 - -A date may be omitted or specified (before or after the time) in any of -the following 43 formats: - - * Wed - * 1969-12-31 - * 1969/12/31 - * 12-31-1969 - * 12-31 - * 12/31/1969 - * 12/31 - * 31 Dec 1969 - * 31 Dec - * 31-Dec-1969 - * 31-Dec - * 31/Dec/1969 - * 31/Dec - * Wed 31 Dec 1969 - * Wed 31 Dec - * Wed 31-Dec-1969 - * Wed 31-Dec - * Wed 31/Dec/1969 - * Wed 31/Dec - * Wed, 31 Dec 1969 - * Wed, 31 Dec - * Wed, 31-Dec-1969 - * Wed, 31-Dec - * Wed, 31/Dec/1969 - * Wed, 31/Dec - * Dec 31, 1969 - * Dec 31 - * Dec-31-1969 - * Dec-31 - * Dec/31/1969 - * Dec/31 - * Wed Dec 31, 1969 - * Wed Dec 31 - * Wed Dec-31-1969 - * Wed Dec-31 - * Wed Dec/31/1969 - * Wed Dec/31 - * Wed, Dec 31, 1969 - * Wed, Dec 31 - * Wed, Dec-31-1969 - * Wed, Dec-31 - * Wed, Dec/31/1969 - * Wed, Dec/31 - -Additionally, the following nine date/time formats are supported: - - * 1969-12-31T19:00:01 - * 1969-12-31T19:00 - * 19691231T190001 - * 19691231T1900 - * 19691231 70001 PM - * 19691231 190001 - * 19691231 700 PM - * 19691231 1900 - * Wed Dec 31 19:00:01 1969 +See the `FORMATS` file for a list of supported formats. All spaces +shown are optional. Development ----------- -- cgit v0.9.1