mt.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
  17. '_'
  18. ),
  19. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  20. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.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: '[Illum fil-]LT',
  31. nextDay: '[Għada fil-]LT',
  32. nextWeek: 'dddd [fil-]LT',
  33. lastDay: '[Il-bieraħ fil-]LT',
  34. lastWeek: 'dddd [li għadda] [fil-]LT',
  35. sameElse: 'L',
  36. },
  37. relativeTime: {
  38. future: 'f’ %s',
  39. past: '%s ilu',
  40. s: 'ftit sekondi',
  41. ss: '%d sekondi',
  42. m: 'minuta',
  43. mm: '%d minuti',
  44. h: 'siegħa',
  45. hh: '%d siegħat',
  46. d: 'ġurnata',
  47. dd: '%d ġranet',
  48. M: 'xahar',
  49. MM: '%d xhur',
  50. y: 'sena',
  51. yy: '%d sni',
  52. },
  53. dayOfMonthOrdinalParse: /\d{1,2}º/,
  54. ordinal: '%dº',
  55. week: {
  56. dow: 1, // Monday is the first day of the week.
  57. doy: 4, // The week that contains Jan 4th is the first week of the year.
  58. },
  59. });
  60. return mt;
  61. })));