1 //! moment.js locale configuration
2 //! locale : Romanian [ro]
3 //! author : Vlad Gurdiga : https://github.com/gurdiga
4 //! author : Valentin Agachi : https://github.com/avaly
5 //! author : Emanuel Cepoi : https://github.com/cepem
7 ;(function (global, factory) {
8 typeof exports === 'object' && typeof module !== 'undefined'
9 && typeof require === 'function' ? factory(require('../moment')) :
10 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11 factory(global.moment)
12 }(this, (function (moment) { 'use strict';
14 //! moment.js locale configuration
16 function relativeTimeWithPlural(number, withoutSuffix, key) {
26 if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
29 return number + separator + format[key];
32 var ro = moment.defineLocale('ro', {
33 months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(
36 monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(
39 monthsParseExact: true,
40 weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
41 weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
42 weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
48 LLL: 'D MMMM YYYY H:mm',
49 LLLL: 'dddd, D MMMM YYYY H:mm',
52 sameDay: '[azi la] LT',
53 nextDay: '[mâine la] LT',
54 nextWeek: 'dddd [la] LT',
55 lastDay: '[ieri la] LT',
56 lastWeek: '[fosta] dddd [la] LT',
63 ss: relativeTimeWithPlural,
65 mm: relativeTimeWithPlural,
67 hh: relativeTimeWithPlural,
69 dd: relativeTimeWithPlural,
71 MM: relativeTimeWithPlural,
73 yy: relativeTimeWithPlural,
76 dow: 1, // Monday is the first day of the week.
77 doy: 7, // The week that contains Jan 7th is the first week of the year.