1 //! moment.js locale configuration
3 //! author : Sawood Alam : https://github.com/ibnesayeed
4 //! author : Zack : https://github.com/ZackVision
6 ;(function (global, factory) {
7 typeof exports === 'object' && typeof module !== 'undefined'
8 && typeof require === 'function' ? factory(require('../moment')) :
9 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 factory(global.moment)
11 }(this, (function (moment) { 'use strict';
13 //! moment.js locale configuration
29 days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
31 var ur = moment.defineLocale('ur', {
42 LLL: 'D MMMM YYYY HH:mm',
43 LLLL: 'dddd، D MMMM YYYY HH:mm',
45 meridiemParse: /صبح|شام/,
46 isPM: function (input) {
47 return 'شام' === input;
49 meridiem: function (hour, minute, isLower) {
56 sameDay: '[آج بوقت] LT',
57 nextDay: '[کل بوقت] LT',
58 nextWeek: 'dddd [بوقت] LT',
59 lastDay: '[گذشتہ روز بوقت] LT',
60 lastWeek: '[گذشتہ] dddd [بوقت] LT',
79 preparse: function (string) {
80 return string.replace(/،/g, ',');
82 postformat: function (string) {
83 return string.replace(/,/g, '،');
86 dow: 1, // Monday is the first day of the week.
87 doy: 4, // The week that contains Jan 4th is the first week of the year.