1 // moment.js locale configuration
2 // locale : Hebrew (he)
3 // author : Tomer Cohen : https://github.com/tomer
4 // author : Moshe Simantov : https://github.com/DevelopmentIL
5 // author : Tal Ater : https://github.com/TalAter
8 if (typeof define
=== 'function' && define
.amd
) {
9 define(['moment'], factory
); // AMD
10 } else if (typeof exports
=== 'object') {
11 module
.exports
= factory(require('../moment')); // Node
13 factory(window
.moment
); // Browser global
16 return moment
.defineLocale('he', {
17 months
: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
18 monthsShort
: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
19 weekdays
: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
20 weekdaysShort
: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
21 weekdaysMin
: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
25 LL
: 'D [ב]MMMM YYYY',
26 LLL
: 'D [ב]MMMM YYYY LT',
27 LLLL
: 'dddd, D [ב]MMMM YYYY LT',
30 lll
: 'D MMM YYYY LT',
31 llll
: 'ddd, D MMM YYYY LT'
34 sameDay
: '[היום ב־]LT',
35 nextDay
: '[מחר ב־]LT',
36 nextWeek
: 'dddd [בשעה] LT',
37 lastDay
: '[אתמול ב־]LT',
38 lastWeek
: '[ביום] dddd [האחרון בשעה] LT',
48 hh : function (number
) {
52 return number
+ ' שעות';
55 dd : function (number
) {
59 return number
+ ' ימים';
62 MM : function (number
) {
66 return number
+ ' חודשים';
69 yy : function (number
) {
73 return number
+ ' שנים';