Subject: bug#71986: RFC: date @ to support ms.

From: Richard Neill <[email-masked]>
Date: Mon, 8 Jul 2024 20:18:13 +0100

On 08/07/2024 17:33, Andreas Schwab wrote:
> date --date=[email-masked]' --rfc-3339=ns

Thanks. The problem is that the input string (from elsewhere) is
"1720378861258"  i.e. it's "integer ms", not "seconds with a decimal".
Also, this is an increasingly common format to see as an input

Slightly relatedly, for date-input, this:
   date --date '1/2/2024'
is ambiguous (most of the world sees this as 1st Feb; USA sees it as 2nd 
Jan).

=> so there are a few cases where date could benefit from a rule for how 
the --date field should be parsed, and if there isn't a flag, at least a 
clarification in the man page would be helpful.

Thanks very much,

Best wishes,

Richard