Skip to content

regex/leap-second

  • instantLeapSecond: RegExp fragment matching an ISO 8601 leap second in every shape Temporal.Instant.from accepts.
  • leapSecond: RegExp fragment matching an ISO 8601 leap second (second 60) in the time of day of a date-time or time string, in every spelling Temporal’s PlainDateTime.from/PlainTime.from grammar parses.