// moment.js locale configuration
// locale : Hebrew (he)
// author : Tomer Cohen : https://github.com/tomer
// author : Moshe Simantov : https://github.com/DevelopmentIL
// author : Tal Ater : https://github.com/TalAter
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['moment'], factory); // AMD
} else if (typeof exports === 'object') {
module.exports = factory(require('../moment')); // Node
} else {
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
}
}(function (moment) {
return moment.defineLocale('he', {
months : '×™× ×•×ר_פברו×ר_מרץ_×פריל_מ××™_×™×•× ×™_יולי_×וגוסט_ספטמבר_×וקטובר_× ×•×‘×ž×‘×¨_דצמבר'.split('_'),
monthsShort : '×™× ×•×³_פבר׳_מרץ_×פר׳_מ××™_×™×•× ×™_יולי_×וג׳_ספט׳_×וק׳_× ×•×‘×³_דצמ׳'.split('_'),
weekdays : 'ר×שון_×©× ×™_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
weekdaysShort : '×׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
weekdaysMin : '×_ב_×’_ד_×”_ו_ש'.split('_'),
longDateFormat : {
LT : 'HH:mm',
LTS : 'LT:ss',
L : 'DD/MM/YYYY',
LL : 'D [ב]MMMM YYYY',
LLL : 'D [ב]MMMM YYYY LT',
LLLL : 'dddd, D [ב]MMMM YYYY LT',
l : 'D/M/YYYY',
ll : 'D MMM YYYY',
lll : 'D MMM YYYY LT',
llll : 'ddd, D MMM YYYY LT'
},
calendar : {
sameDay : '[×”×™×•× ×‘Ö¾]LT',
nextDay : '[מחר ב־]LT',
nextWeek : 'dddd [בשעה] LT',
lastDay : '[×תמול ב־]LT',
lastWeek : '[ביו×] dddd [×”×חרון בשעה] LT',
sameElse : 'L'
},
relativeTime : {
future : 'בעוד %s',
past : '×œ×¤× ×™ %s',
s : 'מספר ×©× ×™×•×ª',
m : 'דקה',
mm : '%d דקות',
h : 'שעה',
hh : function (number) {
if (number === 2) {
return 'שעתיי×';
}
return number + ' שעות';
},
d : 'יו×',
dd : function (number) {
if (number === 2) {
return 'יומיי×';
}
return number + ' ימי×';
},
M : 'חודש',
MM : function (number) {
if (number === 2) {
return 'חודשיי×';
}
return number + ' חודשי×';
},
y : '×©× ×”',
yy : function (number) {
if (number === 2) {
return '×©× ×ª×™×™×';
} else if (number % 10 === 0 && number !== 10) {
return number + ' ×©× ×”';
}
return number + ' ×©× ×™×';
}
}
});
}));