Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
13
node_modules/d3-time-format/src/isoFormat.js
generated
vendored
Normal file
13
node_modules/d3-time-format/src/isoFormat.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import {utcFormat} from "./defaultLocale.js";
|
||||
|
||||
export var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ";
|
||||
|
||||
function formatIsoNative(date) {
|
||||
return date.toISOString();
|
||||
}
|
||||
|
||||
var formatIso = Date.prototype.toISOString
|
||||
? formatIsoNative
|
||||
: utcFormat(isoSpecifier);
|
||||
|
||||
export default formatIso;
|
||||
Loading…
Add table
Add a link
Reference in a new issue