Source

dateTime/isDateTimeLocal.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var REGEX = /^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}$/i;
/**
 * Validate if it is date-time local
 * @category dateTime
 * @module isDateTimeLocal
 */
var isDateTimeLocal = function (value) { return REGEX.test(value); };
exports.default = isDateTimeLocal;