mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/node_modules/dayjs/esm/locale/en.js

12 lines
474 B
JavaScript
Raw Permalink Normal View History

2023-10-17 16:02:55 +08:00
// English [en]
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
export default {
name: 'en',
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
ordinal: function ordinal(n) {
var s = ['th', 'st', 'nd', 'rd'];
var v = n % 100;
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
}
};