mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 19:23:18 +00:00
31 lines
1.1 KiB
JavaScript
31 lines
1.1 KiB
JavaScript
/**
|
|
* @preserve date-and-time.js locale configuration
|
|
* @preserve Romanian (ro)
|
|
* @preserve It is using moment.js locale configuration as a reference.
|
|
*/
|
|
(function (global) {
|
|
'use strict';
|
|
|
|
var exec = function (date) {
|
|
date.locale('ro', {
|
|
res: {
|
|
MMMM: ['ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'],
|
|
MMM: ['ian.', 'febr.', 'mart.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'],
|
|
dddd: ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'],
|
|
ddd: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
|
|
dd: ['Du', 'Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ']
|
|
}
|
|
});
|
|
};
|
|
|
|
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));
|