GPQAPP
1//! moment.js locale configuration
2//! locale : Urdu [ur]
3//! author : Sawood Alam : https://github.com/ibnesayeed
4//! author : Zack : https://github.com/ZackVision
5
6;(function (global, factory) {7typeof exports === 'object' && typeof module !== 'undefined'8&& typeof require === 'function' ? factory(require('../moment')) :9typeof define === 'function' && define.amd ? define(['../moment'], factory) :10factory(global.moment)11}(this, (function (moment) { 'use strict';12
13//! moment.js locale configuration14
15var months = [16'جنوری',17'فروری',18'مارچ',19'اپریل',20'مئی',21'جون',22'جولائی',23'اگست',24'ستمبر',25'اکتوبر',26'نومبر',27'دسمبر',28],29days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];30
31var ur = moment.defineLocale('ur', {32months: months,33monthsShort: months,34weekdays: days,35weekdaysShort: days,36weekdaysMin: days,37longDateFormat: {38LT: 'HH:mm',39LTS: 'HH:mm:ss',40L: 'DD/MM/YYYY',41LL: 'D MMMM YYYY',42LLL: 'D MMMM YYYY HH:mm',43LLLL: 'dddd، D MMMM YYYY HH:mm',44},45meridiemParse: /صبح|شام/,46isPM: function (input) {47return 'شام' === input;48},49meridiem: function (hour, minute, isLower) {50if (hour < 12) {51return 'صبح';52}53return 'شام';54},55calendar: {56sameDay: '[آج بوقت] LT',57nextDay: '[کل بوقت] LT',58nextWeek: 'dddd [بوقت] LT',59lastDay: '[گذشتہ روز بوقت] LT',60lastWeek: '[گذشتہ] dddd [بوقت] LT',61sameElse: 'L',62},63relativeTime: {64future: '%s بعد',65past: '%s قبل',66s: 'چند سیکنڈ',67ss: '%d سیکنڈ',68m: 'ایک منٹ',69mm: '%d منٹ',70h: 'ایک گھنٹہ',71hh: '%d گھنٹے',72d: 'ایک دن',73dd: '%d دن',74M: 'ایک ماہ',75MM: '%d ماہ',76y: 'ایک سال',77yy: '%d سال',78},79preparse: function (string) {80return string.replace(/،/g, ',');81},82postformat: function (string) {83return string.replace(/,/g, '،');84},85week: {86dow: 1, // Monday is the first day of the week.87doy: 4, // The week that contains Jan 4th is the first week of the year.88},89});90
91return ur;92
93})));94