1 //! moment.js locale configuration
2 //! locale : Nepalese [ne]
3 //! author : suvash : https://github.com/suvash
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';
12 //! moment.js locale configuration
39 var ne = moment.defineLocale('ne', {
40 months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
43 monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
46 monthsParseExact: true,
47 weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
50 weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
51 weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
52 weekdaysParseExact: true,
55 LTS: 'Aको h:mm:ss बजे',
58 LLL: 'D MMMM YYYY, Aको h:mm बजे',
59 LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
61 preparse: function (string) {
62 return string.replace(/[१२३४५६७८९०]/g, function (match) {
63 return numberMap[match];
66 postformat: function (string) {
67 return string.replace(/\d/g, function (match) {
68 return symbolMap[match];
71 meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
72 meridiemHour: function (hour, meridiem) {
76 if (meridiem === 'राति') {
77 return hour < 4 ? hour : hour + 12;
78 } else if (meridiem === 'बिहान') {
80 } else if (meridiem === 'दिउँसो') {
81 return hour >= 10 ? hour : hour + 12;
82 } else if (meridiem === 'साँझ') {
86 meridiem: function (hour, minute, isLower) {
89 } else if (hour < 12) {
91 } else if (hour < 16) {
93 } else if (hour < 20) {
101 nextDay: '[भोलि] LT',
102 nextWeek: '[आउँदो] dddd[,] LT',
103 lastDay: '[हिजो] LT',
104 lastWeek: '[गएको] dddd[,] LT',
124 dow: 0, // Sunday is the first day of the week.
125 doy: 6, // The week that contains Jan 6th is the first week of the year.