Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mt.js 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //! moment.js locale configuration
  2. //! locale : Maltese (Malta) [mt]
  3. //! author : Alessandro Maruccia : https://github.com/alesma
  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 mt = moment.defineLocale('mt', {
  12. months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
  13. '_'
  14. ),
  15. monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
  16. weekdays:
  17. 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
  18. '_'
  19. ),
  20. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  21. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
  22. longDateFormat: {
  23. LT: 'HH:mm',
  24. LTS: 'HH:mm:ss',
  25. L: 'DD/MM/YYYY',
  26. LL: 'D MMMM YYYY',
  27. LLL: 'D MMMM YYYY HH:mm',
  28. LLLL: 'dddd, D MMMM YYYY HH:mm',
  29. },
  30. calendar: {
  31. sameDay: '[Illum fil-]LT',
  32. nextDay: '[Għada fil-]LT',
  33. nextWeek: 'dddd [fil-]LT',
  34. lastDay: '[Il-bieraħ fil-]LT',
  35. lastWeek: 'dddd [li għadda] [fil-]LT',
  36. sameElse: 'L',
  37. },
  38. relativeTime: {
  39. future: 'f’ %s',
  40. past: '%s ilu',
  41. s: 'ftit sekondi',
  42. ss: '%d sekondi',
  43. m: 'minuta',
  44. mm: '%d minuti',
  45. h: 'siegħa',
  46. hh: '%d siegħat',
  47. d: 'ġurnata',
  48. dd: '%d ġranet',
  49. M: 'xahar',
  50. MM: '%d xhur',
  51. y: 'sena',
  52. yy: '%d sni',
  53. },
  54. dayOfMonthOrdinalParse: /\d{1,2}º/,
  55. ordinal: '%dº',
  56. week: {
  57. dow: 1, // Monday is the first day of the week.
  58. doy: 4, // The week that contains Jan 4th is the first week of the year.
  59. },
  60. });
  61. return mt;
  62. })));