Node-Red configuration
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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