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';
38 var ur
= moment
.defineLocale('ur', {
49 LLL
: 'D MMMM YYYY HH:mm',
50 LLLL
: 'dddd، D MMMM YYYY HH:mm'
52 meridiemParse
: /صبح|شام/,
53 isPM : function (input
) {
54 return 'شام' === input
;
56 meridiem : function (hour
, minute
, isLower
) {
63 sameDay
: '[آج بوقت] LT',
64 nextDay
: '[کل بوقت] LT',
65 nextWeek
: 'dddd [بوقت] LT',
66 lastDay
: '[گذشتہ روز بوقت] LT',
67 lastWeek
: '[گذشتہ] dddd [بوقت] LT',
85 preparse: function (string
) {
86 return string
.replace(/،/g, ',');
88 postformat: function (string
) {
89 return string
.replace(/,/g
, '،');
92 dow
: 1, // Monday is the first day of the week.
93 doy
: 4 // The week that contains Jan 4th is the first week of the year.