UNPKG

node-dateutils

Version:
27 lines (15 loc) 338 B
# node-dateutils simple query periods in Day, Week, Month, Year 获取常用的某段时期(某日/某周/某月/某年) --- ## depends moment: ^2.22.2 ## examples ```javascript const dateutils = require('node-dateutils'); // date: yyyy-mm-dd // week: GGGG-[W]WW // month: yyyy-mm // year: yyyy // history: history ```