Edit D:\xinhaisoft\crisis_new\api\node_modules\moment\src\locale\pa-in.js
//! 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. }, });
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de