1 // moment.js language configuration
2 // language : romanian (ro)
3 // author : Vlad Gurdiga : https://github.com/gurdiga
4 // author : Valentin Agachi : https://github.com/avaly
7 if (typeof define
=== 'function' && define
.amd
) {
8 define(['moment'], factory
); // AMD
9 } else if (typeof exports
=== 'object') {
10 module
.exports
= factory(require('../moment')); // Node
12 factory(window
.moment
); // Browser global
15 function relativeTimeWithPlural(number
, withoutSuffix
, key
) {
24 if (number
% 100 >= 20 || (number
>= 100 && number
% 100 === 0)) {
28 return number
+ separator
+ format
[key
];
31 return moment
.lang('ro', {
32 months
: "ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),
33 monthsShort
: "ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),
34 weekdays
: "duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),
35 weekdaysShort
: "Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),
36 weekdaysMin
: "Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),
41 LLL
: "D MMMM YYYY H:mm",
42 LLLL
: "dddd, D MMMM YYYY H:mm"
45 sameDay
: "[azi la] LT",
46 nextDay
: '[mâine la] LT',
47 nextWeek
: 'dddd [la] LT',
48 lastDay
: '[ieri la] LT',
49 lastWeek
: '[fosta] dddd [la] LT',
57 mm
: relativeTimeWithPlural
,
59 hh
: relativeTimeWithPlural
,
61 dd
: relativeTimeWithPlural
,
63 MM
: relativeTimeWithPlural
,
65 yy
: relativeTimeWithPlural
68 dow
: 1, // Monday is the first day of the week.
69 doy
: 7 // The week that contains Jan 1st is the first week of the year.