1.0.0 • Published 3 years ago

days-cn v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

days-cn

Days of the week in zh_cn. See https://github.com/datetime/days in EN.

Install

Install with npm:

$ npm install --save days-cn

Usage

var days = require('days-cn');

console.log(days);
//=> ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']

console.log(days.abbr)
//=> ['周日', '周一', '周二', '周三', '周四', '周五', '周六']

console.log(days.short)
//=> ['周日', '周一', '周二', '周三', '周四', '周五', '周六']

Other

Is Sunday 星期天 or 星期日?