An implementation of pythons strftime() in JS.
https://docs.python.org/3.7/library/datetime.html#strftime-strptime-behavior
const dateformat = require("pydateformat");
dateformat(new Date(0), "foo: %A, %H:%M:%S") //=>"foo: Thursday, 1:00:00"
An implementation of pythons strftime() in JS.
https://docs.python.org/3.7/library/datetime.html#strftime-strptime-behavior
const dateformat = require("pydateformat");
dateformat(new Date(0), "foo: %A, %H:%M:%S") //=>"foo: Thursday, 1:00:00"
npm i pydateformat
10
2.1.2
MIT
12.9 kB
18