UNPKG

date-fns-tz

Version:

Time zone support for date-fns v3 with the Intl API

8 lines (7 loc) 298 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tzPattern = void 0; /** Regex to identify the presence of a time zone specifier in a date string */ var tzPattern = exports.tzPattern = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;