counterpart
Version:
A translation and localization library for Node.js and the browser
31 lines (25 loc) • 607 B
JavaScript
// The translations in this file are added by default.
;
module.exports = {
counterpart: {
names: require('date-names/en'),
pluralize: require('pluralizers/en'),
formats: {
date: {
'default': '%a, %e %b %Y',
long: '%A, %B %o, %Y',
short: '%b %e'
},
time: {
'default': '%H:%M',
long: '%H:%M:%S %z',
short: '%H:%M'
},
datetime: {
'default': '%a, %e %b %Y %H:%M',
long: '%A, %B %o, %Y %H:%M:%S %z',
short: '%e %b %H:%M'
}
}
}
};