PageRenderTime 33ms CodeModel.GetById 16ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 1ms

/node_modules/moment/locale/sd.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 97 lines | 90 code | 6 blank | 1 comment | 4 complexity | 83ac1ae44e70b041b87b3ee1f69d7e96 MD5 | raw file
 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 sd = moment.defineLocale('sd', {
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 sd;
96
97})));