mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 08:10:18 +00:00
31 lines
1.1 KiB
JavaScript
31 lines
1.1 KiB
JavaScript
/**
|
|
* @preserve date-and-time.js locale configuration
|
|
* @preserve Czech (cs)
|
|
* @preserve It is using moment.js locale configuration as a reference.
|
|
*/
|
|
(function (global) {
|
|
'use strict';
|
|
|
|
var exec = function (date) {
|
|
date.locale('cs', {
|
|
res: {
|
|
MMMM: ['leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec'],
|
|
MMM: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],
|
|
dddd: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
|
|
ddd: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
|
dd: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so']
|
|
}
|
|
});
|
|
};
|
|
|
|
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));
|