No Description

en-il.js 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var enIl = moment.defineLocale('en-il', {
  9. months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  10. monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  11. weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  12. weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  13. weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  14. longDateFormat : {
  15. LT : 'HH:mm',
  16. LTS : 'HH:mm:ss',
  17. L : 'DD/MM/YYYY',
  18. LL : 'D MMMM YYYY',
  19. LLL : 'D MMMM YYYY HH:mm',
  20. LLLL : 'dddd, D MMMM YYYY HH:mm'
  21. },
  22. calendar : {
  23. sameDay : '[Today at] LT',
  24. nextDay : '[Tomorrow at] LT',
  25. nextWeek : 'dddd [at] LT',
  26. lastDay : '[Yesterday at] LT',
  27. lastWeek : '[Last] dddd [at] LT',
  28. sameElse : 'L'
  29. },
  30. relativeTime : {
  31. future : 'in %s',
  32. past : '%s ago',
  33. s : 'a few seconds',
  34. m : 'a minute',
  35. mm : '%d minutes',
  36. h : 'an hour',
  37. hh : '%d hours',
  38. d : 'a day',
  39. dd : '%d days',
  40. M : 'a month',
  41. MM : '%d months',
  42. y : 'a year',
  43. yy : '%d years'
  44. },
  45. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  46. ordinal : function (number) {
  47. var b = number % 10,
  48. output = (~~(number % 100 / 10) === 1) ? 'th' :
  49. (b === 1) ? 'st' :
  50. (b === 2) ? 'nd' :
  51. (b === 3) ? 'rd' : 'th';
  52. return number + output;
  53. }
  54. });
  55. return enIl;
  56. })));