UNPKG

date-fns-tz

Version:

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

6 lines (5 loc) 280 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 */ exports.tzPattern = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;