node-dateutils
v0.1.0
Published
datetime utils
Downloads
8
Readme
node-dateutils
simple query periods in Day, Week, Month, Year
获取常用的某段时期(某日/某周/某月/某年)
depends
moment: ^2.22.2
examples
const dateutils = require('node-dateutils');
// date: yyyy-mm-dd
// week: GGGG-[W]WW
// month: yyyy-mm
// year: yyyy
// history: history