counterpart
Version:
A translation and localization library for Node.js and the browser
32 lines (26 loc) • 690 B
JavaScript
// The translations in this file can be added with:
// #registerTranslations('de', require('counterpart/locales/de');
;
module.exports = {
counterpart: {
names: require('date-names/de'),
pluralize: require('pluralizers/de'),
formats: {
date: {
'default': '%a, %e. %b %Y',
long: '%A, %e. %B %Y',
short: '%d.%m.%y'
},
time: {
'default': '%H:%M Uhr',
long: '%H:%M:%S %z',
short: '%H:%M'
},
datetime: {
'default': '%a, %e. %b %Y, %H:%M Uhr',
long: '%A, %e. %B %Y, %H:%M:%S %z',
short: '%d.%m.%y %H:%M'
}
}
}
};