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';
38 var ne = moment.defineLocale('ne', {
39 months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
40 monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
41 monthsParseExact : true,
42 weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
43 weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
44 weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
45 weekdaysParseExact : true,
48 LTS : 'Aको h:mm:ss बजे',
51 LLL : 'D MMMM YYYY, Aको h:mm बजे',
52 LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
54 preparse: function (string) {
55 return string.replace(/[१२३४५६७८९०]/g, function (match) {
56 return numberMap[match];
59 postformat: function (string) {
60 return string.replace(/\d/g, function (match) {
61 return symbolMap[match];
64 meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
65 meridiemHour : function (hour, meridiem) {
69 if (meridiem === 'राति') {
70 return hour < 4 ? hour : hour + 12;
71 } else if (meridiem === 'बिहान') {
73 } else if (meridiem === 'दिउँसो') {
74 return hour >= 10 ? hour : hour + 12;
75 } else if (meridiem === 'साँझ') {
79 meridiem : function (hour, minute, isLower) {
82 } else if (hour < 12) {
84 } else if (hour < 16) {
86 } else if (hour < 20) {
94 nextDay : '[भोलि] LT',
95 nextWeek : '[आउँदो] dddd[,] LT',
96 lastDay : '[हिजो] LT',
97 lastWeek : '[गएको] dddd[,] LT',
116 dow : 0, // Sunday is the first day of the week.
117 doy : 6 // The week that contains Jan 1st is the first week of the year.