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
7 ;(function (global, factory) {
8 typeof exports === 'object' && typeof module !== 'undefined'
9 && typeof require === 'function' ? factory(require('../moment')) :
10 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11 factory(global.moment)
12 }(this, (function (moment) { 'use strict';
14 //! moment.js locale configuration
16 var he = moment.defineLocale('he', {
17 months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
20 monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split(
23 weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
24 weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
25 weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
31 LLL: 'D [ב]MMMM YYYY HH:mm',
32 LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
35 lll: 'D MMM YYYY HH:mm',
36 llll: 'ddd, D MMM YYYY HH:mm',
39 sameDay: '[היום ב־]LT',
40 nextDay: '[מחר ב־]LT',
41 nextWeek: 'dddd [בשעה] LT',
42 lastDay: '[אתמול ב־]LT',
43 lastWeek: '[ביום] dddd [האחרון בשעה] LT',
54 hh: function (number) {
58 return number + ' שעות';
61 dd: function (number) {
65 return number + ' ימים';
68 MM: function (number) {
72 return number + ' חודשים';
75 yy: function (number) {
78 } else if (number % 10 === 0 && number !== 10) {
79 return number + ' שנה';
81 return number + ' שנים';
84 meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
85 isPM: function (input) {
86 return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
88 meridiem: function (hour, minute, isLower) {
91 } else if (hour < 10) {
93 } else if (hour < 12) {
94 return isLower ? 'לפנה"צ' : 'לפני הצהריים';
95 } else if (hour < 18) {
96 return isLower ? 'אחה"צ' : 'אחרי הצהריים';