mt.js 1.6KB

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