[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
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 6 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'; 13 14 15 var he = moment.defineLocale('he', { 16 months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), 17 monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), 18 weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), 19 weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), 20 weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'), 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'DD/MM/YYYY', 25 LL : 'D [ב]MMMM YYYY', 26 LLL : 'D [ב]MMMM YYYY HH:mm', 27 LLLL : 'dddd, D [ב]MMMM YYYY HH:mm', 28 l : 'D/M/YYYY', 29 ll : 'D MMM YYYY', 30 lll : 'D MMM YYYY HH:mm', 31 llll : 'ddd, D MMM YYYY HH:mm' 32 }, 33 calendar : { 34 sameDay : '[היום ב־]LT', 35 nextDay : '[מחר ב־]LT', 36 nextWeek : 'dddd [בשעה] LT', 37 lastDay : '[אתמול ב־]LT', 38 lastWeek : '[ביום] dddd [האחרון בשעה] LT', 39 sameElse : 'L' 40 }, 41 relativeTime : { 42 future : 'בעוד %s', 43 past : 'לפני %s', 44 s : 'מספר שניות', 45 m : 'דקה', 46 mm : '%d דקות', 47 h : 'שעה', 48 hh : function (number) { 49 if (number === 2) { 50 return 'שעתיים'; 51 } 52 return number + ' שעות'; 53 }, 54 d : 'יום', 55 dd : function (number) { 56 if (number === 2) { 57 return 'יומיים'; 58 } 59 return number + ' ימים'; 60 }, 61 M : 'חודש', 62 MM : function (number) { 63 if (number === 2) { 64 return 'חודשיים'; 65 } 66 return number + ' חודשים'; 67 }, 68 y : 'שנה', 69 yy : function (number) { 70 if (number === 2) { 71 return 'שנתיים'; 72 } else if (number % 10 === 0 && number !== 10) { 73 return number + ' שנה'; 74 } 75 return number + ' שנים'; 76 } 77 }, 78 meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, 79 isPM : function (input) { 80 return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); 81 }, 82 meridiem : function (hour, minute, isLower) { 83 if (hour < 5) { 84 return 'לפנות בוקר'; 85 } else if (hour < 10) { 86 return 'בבוקר'; 87 } else if (hour < 12) { 88 return isLower ? 'לפנה"צ' : 'לפני הצהריים'; 89 } else if (hour < 18) { 90 return isLower ? 'אחה"צ' : 'אחרי הצהריים'; 91 } else { 92 return 'בערב'; 93 } 94 } 95 }); 96 97 return he; 98 99 }));
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 24 01:01:27 2023 | Cross-referenced by PHPXref 0.7.1 |