PATH:
opt
/
bitninja-dispatcher
/
node_modules
/
moment
/
src
/
locale
//! moment.js locale configuration //! locale : Punjabi (India) [pa-in] //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit import moment from '../moment'; var symbolMap = { 1: '੧', 2: '੨', 3: '੩', 4: '੪', 5: '੫', 6: '੬', 7: '੭', 8: '੮', 9: '੯', 0: '੦', }, numberMap = { '੧': '1', '੨': '2', '੩': '3', '੪': '4', '੫': '5', '੬': '6', '੭': '7', '੮': '8', '੯': '9', '੦': '0', }; export default moment.defineLocale('pa-in', { // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( '_' ), monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( '_' ), weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( '_' ), weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), longDateFormat: { LT: 'A h:mm ਵਜੇ', LTS: 'A h:mm:ss ਵਜੇ', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', }, calendar: { sameDay: '[ਅਜ] LT', nextDay: '[ਕਲ] LT', nextWeek: '[ਅਗਲਾ] dddd, LT', lastDay: '[ਕਲ] LT', lastWeek: '[ਪਿਛਲੇ] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s ਵਿੱਚ', past: '%s ਪਿਛਲੇ', s: 'ਕੁਝ ਸਕਿੰਟ', ss: '%d ਸਕਿੰਟ', m: 'ਇਕ ਮਿੰਟ', mm: '%d ਮਿੰਟ', h: 'ਇੱਕ ਘੰਟਾ', hh: '%d ਘੰਟੇ', d: 'ਇੱਕ ਦਿਨ', dd: '%d ਦਿਨ', M: 'ਇੱਕ ਮਹੀਨਾ', MM: '%d ਮਹੀਨੇ', y: 'ਇੱਕ ਸਾਲ', yy: '%d ਸਾਲ', }, preparse: function (string) { return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { return numberMap[match]; }); }, postformat: function (string) { return string.replace(/\d/g, function (match) { return symbolMap[match]; }); }, // Punjabi notation for meridiems are quite fuzzy in practice. While there exists // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, meridiemHour: function (hour, meridiem) { if (hour === 12) { hour = 0; } if (meridiem === 'ਰਾਤ') { return hour < 4 ? hour : hour + 12; } else if (meridiem === 'ਸਵੇਰ') { return hour; } else if (meridiem === 'ਦੁਪਹਿਰ') { return hour >= 10 ? hour : hour + 12; } else if (meridiem === 'ਸ਼ਾਮ') { return hour + 12; } }, meridiem: function (hour, minute, isLower) { if (hour < 4) { return 'ਰਾਤ'; } else if (hour < 10) { return 'ਸਵੇਰ'; } else if (hour < 17) { return 'ਦੁਪਹਿਰ'; } else if (hour < 20) { return 'ਸ਼ਾਮ'; } else { return 'ਰਾਤ'; } }, week: { dow: 0, // Sunday is the first day of the week. doy: 6, // The week that contains Jan 6th is the first week of the year. }, });
[-] bn.js
[edit]
[-] ug-cn.js
[edit]
[-] tzm.js
[edit]
[-] sk.js
[edit]
[-] cy.js
[edit]
[-] id.js
[edit]
[-] ms-my.js
[edit]
[-] nl.js
[edit]
[-] bm.js
[edit]
[-] fy.js
[edit]
[-] nb.js
[edit]
[-] zh-tw.js
[edit]
[-] uk.js
[edit]
[-] bo.js
[edit]
[-] lv.js
[edit]
[-] ja.js
[edit]
[-] gom-latn.js
[edit]
[-] gl.js
[edit]
[-] mr.js
[edit]
[-] en-in.js
[edit]
[-] tlh.js
[edit]
[-] ka.js
[edit]
[-] es-mx.js
[edit]
[-] ar-kw.js
[edit]
[-] fr-ch.js
[edit]
[-] ca.js
[edit]
[-] ne.js
[edit]
[-] lb.js
[edit]
[-] az.js
[edit]
[-] sw.js
[edit]
[-] da.js
[edit]
[-] is.js
[edit]
[+]
..
[-] tzm-latn.js
[edit]
[-] ru.js
[edit]
[-] te.js
[edit]
[-] tzl.js
[edit]
[-] pt-br.js
[edit]
[-] ar-dz.js
[edit]
[-] gom-deva.js
[edit]
[-] nl-be.js
[edit]
[-] gu.js
[edit]
[-] si.js
[edit]
[-] en-ie.js
[edit]
[-] en-au.js
[edit]
[-] af.js
[edit]
[-] zh-hk.js
[edit]
[-] ml.js
[edit]
[-] el.js
[edit]
[-] be.js
[edit]
[-] vi.js
[edit]
[-] zh-cn.js
[edit]
[-] fa.js
[edit]
[-] sv.js
[edit]
[-] ar-ma.js
[edit]
[-] uz-latn.js
[edit]
[-] de-ch.js
[edit]
[-] yo.js
[edit]
[-] en-sg.js
[edit]
[-] jv.js
[edit]
[-] km.js
[edit]
[-] tl-ph.js
[edit]
[-] bg.js
[edit]
[-] ar-ly.js
[edit]
[-] fo.js
[edit]
[-] mi.js
[edit]
[-] kn.js
[edit]
[-] oc-lnc.js
[edit]
[-] eu.js
[edit]
[-] pl.js
[edit]
[-] lo.js
[edit]
[-] sr-cyrl.js
[edit]
[-] gd.js
[edit]
[-] ro.js
[edit]
[-] x-pseudo.js
[edit]
[-] tk.js
[edit]
[-] ms.js
[edit]
[-] my.js
[edit]
[-] sl.js
[edit]
[-] es-do.js
[edit]
[-] uz.js
[edit]
[-] es.js
[edit]
[-] hi.js
[edit]
[-] ur.js
[edit]
[-] fi.js
[edit]
[-] fr.js
[edit]
[-] lt.js
[edit]
[-] en-il.js
[edit]
[-] ar-sa.js
[edit]
[-] sd.js
[edit]
[-] tg.js
[edit]
[-] de.js
[edit]
[-] hu.js
[edit]
[-] ku.js
[edit]
[-] hr.js
[edit]
[-] it-ch.js
[edit]
[-] ky.js
[edit]
[-] dv.js
[edit]
[-] ko.js
[edit]
[-] tr.js
[edit]
[-] en-nz.js
[edit]
[-] it.js
[edit]
[-] hy-am.js
[edit]
[-] cv.js
[edit]
[-] pt.js
[edit]
[-] mn.js
[edit]
[-] de-at.js
[edit]
[-] ar-tn.js
[edit]
[-] nn.js
[edit]
[-] tet.js
[edit]
[-] he.js
[edit]
[-] zh-mo.js
[edit]
[-] en-gb.js
[edit]
[-] br.js
[edit]
[-] ss.js
[edit]
[-] es-us.js
[edit]
[-] fil.js
[edit]
[-] ga.js
[edit]
[-] cs.js
[edit]
[-] me.js
[edit]
[-] bn-bd.js
[edit]
[-] th.js
[edit]
[-] bs.js
[edit]
[-] fr-ca.js
[edit]
[-] en-ca.js
[edit]
[-] et.js
[edit]
[-] se.js
[edit]
[-] ta.js
[edit]
[-] kk.js
[edit]
[-] mk.js
[edit]
[-] mt.js
[edit]
[-] eo.js
[edit]
[-] pa-in.js
[edit]
[-] ar.js
[edit]
[-] sq.js
[edit]
[-] sr.js
[edit]