ACR Rules

⌘K
  1. Home
  2. Docs
  3. ACR Rules
  4. Reliability (41)
  5. Seconds token should be specified correctly in parse/format date-time functions

Seconds token should be specified correctly in parse/format date-time functions

Released in version 1.5 (14 February 2020)

This is likely a bug and should be changed.
Lowercase “s” is for seconds but uppercase “S” is for milliseconds which is used much less often.

Noncompliant example:

parseDateTime('13:37:01', 'HH:mm:SS')

Compliant example:

parseDateTime('13:37:01', 'HH:mm:ss')