You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
474 B
12 lines
474 B
1 month ago
|
// 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]) + "]";
|
||
|
}
|
||
|
};
|