mt.js 1.6 KB

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