mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 08:10:18 +00:00
32 lines
1.2 KiB
JavaScript
32 lines
1.2 KiB
JavaScript
/**
|
|
* @preserve date-and-time.js locale configuration
|
|
* @preserve German (de)
|
|
* @preserve It is using moment.js locale configuration as a reference.
|
|
*/
|
|
(function (global) {
|
|
'use strict';
|
|
|
|
var exec = function (date) {
|
|
date.locale('de', {
|
|
res: {
|
|
MMMM: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
|
|
MMM: ['Jan.', 'Febr.', 'Mrz.', 'Apr.', 'Mai', 'Jun.', 'Jul.', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.'],
|
|
dddd: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
ddd: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
|
|
dd: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
|
|
A: ['Uhr nachmittags', 'Uhr morgens']
|
|
}
|
|
});
|
|
};
|
|
|
|
if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
(module.paths || []).push('./');
|
|
exec(require('date-and-time'));
|
|
} else if (typeof define === 'function' && define.amd) {
|
|
define(['date-and-time'], exec);
|
|
} else {
|
|
exec(global.date);
|
|
}
|
|
|
|
}(this));
|