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