1 //! moment.js locale configuration
2 //! locale : Konkani Latin script [gom-latn]
3 //! author : The Discoverer : https://github.com/WikiDiscoverer
5 ;(function (global, factory) {
6 typeof exports === 'object' && typeof module !== 'undefined'
7 && typeof require === 'function' ? factory(require('../moment')) :
8 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 }(this, (function (moment) { 'use strict';
13 function processRelativeTime(number, withoutSuffix, key, isFuture) {
15 's': ['thodde secondanim', 'thodde second'],
16 'm': ['eka mintan', 'ek minute'],
17 'mm': [number + ' mintanim', number + ' mintam'],
18 'h': ['eka horan', 'ek hor'],
19 'hh': [number + ' horanim', number + ' hor'],
20 'd': ['eka disan', 'ek dis'],
21 'dd': [number + ' disanim', number + ' dis'],
22 'M': ['eka mhoinean', 'ek mhoino'],
23 'MM': [number + ' mhoineanim', number + ' mhoine'],
24 'y': ['eka vorsan', 'ek voros'],
25 'yy': [number + ' vorsanim', number + ' vorsam']
27 return withoutSuffix ? format[key][0] : format[key][1];
30 var gomLatn = moment.defineLocale('gom-latn', {
31 months : 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),
32 monthsShort : 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
33 monthsParseExact : true,
34 weekdays : 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\'var'.split('_'),
35 weekdaysShort : 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
36 weekdaysMin : 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
37 weekdaysParseExact : true,
39 LT : 'A h:mm [vazta]',
40 LTS : 'A h:mm:ss [vazta]',
43 LLL : 'D MMMM YYYY A h:mm [vazta]',
44 LLLL : 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]',
45 llll: 'ddd, D MMM YYYY, A h:mm [vazta]'
49 nextDay: '[Faleam] LT',
50 nextWeek: '[Ieta to] dddd[,] LT',
52 lastWeek: '[Fatlo] dddd[,] LT',
58 s : processRelativeTime,
59 m : processRelativeTime,
60 mm : processRelativeTime,
61 h : processRelativeTime,
62 hh : processRelativeTime,
63 d : processRelativeTime,
64 dd : processRelativeTime,
65 M : processRelativeTime,
66 MM : processRelativeTime,
67 y : processRelativeTime,
68 yy : processRelativeTime
70 dayOfMonthOrdinalParse : /\d{1,2}(er)/,
71 ordinal : function (number, period) {
73 // the ordinal 'er' only applies to day of the month
87 dow : 1, // Monday is the first day of the week.
88 doy : 4 // The week that contains Jan 4th is the first week of the year.
90 meridiemParse: /rati|sokalli|donparam|sanje/,
91 meridiemHour : function (hour, meridiem) {
95 if (meridiem === 'rati') {
96 return hour < 4 ? hour : hour + 12;
97 } else if (meridiem === 'sokalli') {
99 } else if (meridiem === 'donparam') {
100 return hour > 12 ? hour : hour + 12;
101 } else if (meridiem === 'sanje') {
105 meridiem : function (hour, minute, isLower) {
108 } else if (hour < 12) {
110 } else if (hour < 16) {
112 } else if (hour < 20) {