calendarZonedDateTime
const calendarZonedDateTime: RegExp = /^(\d{4,6})-(\d{2})-(\d{2})T(\d{2}:\d{2}(?::\d{2}(?:[.,]\d{1,9})?)?)((?:[+-]\d{2}:\d{2}(?::\d{2}(?:[.,]\d{1,9})?)?)|[Zz])?\[u-ca=([a-z][a-z0-9-]*)(?:;era=([a-z]+))?\]\[([^[\]]+)\]$/;import { calendarZonedDateTime } from "@northguild/gmt/regex/calendar-zoned-date-time";GMT’s own calendar-annotated ZonedDateTime string — the zoned sibling of calendarDate
Examples
Section titled “Examples”calendarZonedDateTime.test("60") // falsecalendarZonedDateTime.test("202") // false