en-il.js (2475B)
1//! moment.js locale configuration 2//! locale : English (Israel) [en-il] 3//! author : Chris Gedrim : https://github.com/chrisgedrim 4 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) : 9 factory(global.moment) 10}(this, (function (moment) { 'use strict'; 11 12 //! moment.js locale configuration 13 14 var enIl = moment.defineLocale('en-il', { 15 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 16 '_' 17 ), 18 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 19 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 20 '_' 21 ), 22 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 23 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 24 longDateFormat: { 25 LT: 'HH:mm', 26 LTS: 'HH:mm:ss', 27 L: 'DD/MM/YYYY', 28 LL: 'D MMMM YYYY', 29 LLL: 'D MMMM YYYY HH:mm', 30 LLLL: 'dddd, D MMMM YYYY HH:mm', 31 }, 32 calendar: { 33 sameDay: '[Today at] LT', 34 nextDay: '[Tomorrow at] LT', 35 nextWeek: 'dddd [at] LT', 36 lastDay: '[Yesterday at] LT', 37 lastWeek: '[Last] dddd [at] LT', 38 sameElse: 'L', 39 }, 40 relativeTime: { 41 future: 'in %s', 42 past: '%s ago', 43 s: 'a few seconds', 44 ss: '%d seconds', 45 m: 'a minute', 46 mm: '%d minutes', 47 h: 'an hour', 48 hh: '%d hours', 49 d: 'a day', 50 dd: '%d days', 51 M: 'a month', 52 MM: '%d months', 53 y: 'a year', 54 yy: '%d years', 55 }, 56 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 57 ordinal: function (number) { 58 var b = number % 10, 59 output = 60 ~~((number % 100) / 10) === 1 61 ? 'th' 62 : b === 1 63 ? 'st' 64 : b === 2 65 ? 'nd' 66 : b === 3 67 ? 'rd' 68 : 'th'; 69 return number + output; 70 }, 71 }); 72 73 return enIl; 74 75})));