source: node_modules/victory-vendor/lib-vendor/d3-time-format/src/isoParse.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 474 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7var _isoFormat = require("./isoFormat.js");
8var _defaultLocale = require("./defaultLocale.js");
9function parseIsoNative(string) {
10 var date = new Date(string);
11 return isNaN(date) ? null : date;
12}
13var parseIso = +new Date("2000-01-01T00:00:00.000Z") ? parseIsoNative : (0, _defaultLocale.utcParse)(_isoFormat.isoSpecifier);
14var _default = exports.default = parseIso;
Note: See TracBrowser for help on using the repository browser.