resources: Bump moment.js from 2.15.0 to 2.19.3
[lhc/web/wiklou.git] / resources / lib / moment / locale / sd.js
1 //! moment.js locale configuration
2 //! locale : Sindhi [sd]
3 //! author : Narain Sagar : https://github.com/narainsagar
4
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) :
9 factory(global.moment)
10 }(this, (function (moment) { 'use strict';
11
12
13 var months = [
14 'جنوري',
15 'فيبروري',
16 'مارچ',
17 'اپريل',
18 'مئي',
19 'جون',
20 'جولاءِ',
21 'آگسٽ',
22 'سيپٽمبر',
23 'آڪٽوبر',
24 'نومبر',
25 'ڊسمبر'
26 ];
27 var days = [
28 'آچر',
29 'سومر',
30 'اڱارو',
31 'اربع',
32 'خميس',
33 'جمع',
34 'ڇنڇر'
35 ];
36
37 var sd = moment.defineLocale('sd', {
38 months : months,
39 monthsShort : months,
40 weekdays : days,
41 weekdaysShort : days,
42 weekdaysMin : days,
43 longDateFormat : {
44 LT : 'HH:mm',
45 LTS : 'HH:mm:ss',
46 L : 'DD/MM/YYYY',
47 LL : 'D MMMM YYYY',
48 LLL : 'D MMMM YYYY HH:mm',
49 LLLL : 'dddd، D MMMM YYYY HH:mm'
50 },
51 meridiemParse: /صبح|شام/,
52 isPM : function (input) {
53 return 'شام' === input;
54 },
55 meridiem : function (hour, minute, isLower) {
56 if (hour < 12) {
57 return 'صبح';
58 }
59 return 'شام';
60 },
61 calendar : {
62 sameDay : '[اڄ] LT',
63 nextDay : '[سڀاڻي] LT',
64 nextWeek : 'dddd [اڳين هفتي تي] LT',
65 lastDay : '[ڪالهه] LT',
66 lastWeek : '[گزريل هفتي] dddd [تي] LT',
67 sameElse : 'L'
68 },
69 relativeTime : {
70 future : '%s پوء',
71 past : '%s اڳ',
72 s : 'چند سيڪنڊ',
73 m : 'هڪ منٽ',
74 mm : '%d منٽ',
75 h : 'هڪ ڪلاڪ',
76 hh : '%d ڪلاڪ',
77 d : 'هڪ ڏينهن',
78 dd : '%d ڏينهن',
79 M : 'هڪ مهينو',
80 MM : '%d مهينا',
81 y : 'هڪ سال',
82 yy : '%d سال'
83 },
84 preparse: function (string) {
85 return string.replace(/،/g, ',');
86 },
87 postformat: function (string) {
88 return string.replace(/,/g, '،');
89 },
90 week : {
91 dow : 1, // Monday is the first day of the week.
92 doy : 4 // The week that contains Jan 4th is the first week of the year.
93 }
94 });
95
96 return sd;
97
98 })));