|
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 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.default = void 0;
|
|---|
| 7 | var _isoFormat = require("./isoFormat.js");
|
|---|
| 8 | var _defaultLocale = require("./defaultLocale.js");
|
|---|
| 9 | function parseIsoNative(string) {
|
|---|
| 10 | var date = new Date(string);
|
|---|
| 11 | return isNaN(date) ? null : date;
|
|---|
| 12 | }
|
|---|
| 13 | var parseIso = +new Date("2000-01-01T00:00:00.000Z") ? parseIsoNative : (0, _defaultLocale.utcParse)(_isoFormat.isoSpecifier);
|
|---|
| 14 | var _default = exports.default = parseIso; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.