1 //! moment.js locale configuration
2 //! locale : Kurdish [ku]
3 //! author : Shahram Mebashar : https://github.com/ShahramMebashar
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) :
10 }(this, (function (moment) { 'use strict';
12 //! moment.js locale configuration
53 var ku = moment.defineLocale('ku', {
56 weekdays: 'یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه'.split(
59 weekdaysShort: 'یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه'.split(
62 weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
63 weekdaysParseExact: true,
69 LLL: 'D MMMM YYYY HH:mm',
70 LLLL: 'dddd, D MMMM YYYY HH:mm',
72 meridiemParse: /ئێواره|بهیانی/,
73 isPM: function (input) {
74 return /ئێواره/.test(input);
76 meridiem: function (hour, minute, isLower) {
84 sameDay: '[ئهمرۆ كاتژمێر] LT',
85 nextDay: '[بهیانی كاتژمێر] LT',
86 nextWeek: 'dddd [كاتژمێر] LT',
87 lastDay: '[دوێنێ كاتژمێر] LT',
88 lastWeek: 'dddd [كاتژمێر] LT',
107 preparse: function (string) {
109 .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
110 return numberMap[match];
114 postformat: function (string) {
116 .replace(/\d/g, function (match) {
117 return symbolMap[match];
122 dow: 6, // Saturday is the first day of the week.
123 doy: 12, // The week that contains Jan 12th is the first week of the year.