tl-ph.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //! moment.js locale configuration
  2. //! locale : Tagalog (Philippines) [tl-ph]
  3. //! author : Dan Hagman : https://github.com/hagmandan
  4. import moment from '../moment';
  5. export default moment.defineLocale('tl-ph', {
  6. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  7. '_'
  8. ),
  9. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  10. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  11. '_'
  12. ),
  13. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  14. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  15. longDateFormat: {
  16. LT: 'HH:mm',
  17. LTS: 'HH:mm:ss',
  18. L: 'MM/D/YYYY',
  19. LL: 'MMMM D, YYYY',
  20. LLL: 'MMMM D, YYYY HH:mm',
  21. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  22. },
  23. calendar: {
  24. sameDay: 'LT [ngayong araw]',
  25. nextDay: '[Bukas ng] LT',
  26. nextWeek: 'LT [sa susunod na] dddd',
  27. lastDay: 'LT [kahapon]',
  28. lastWeek: 'LT [noong nakaraang] dddd',
  29. sameElse: 'L',
  30. },
  31. relativeTime: {
  32. future: 'sa loob ng %s',
  33. past: '%s ang nakalipas',
  34. s: 'ilang segundo',
  35. ss: '%d segundo',
  36. m: 'isang minuto',
  37. mm: '%d minuto',
  38. h: 'isang oras',
  39. hh: '%d oras',
  40. d: 'isang araw',
  41. dd: '%d araw',
  42. M: 'isang buwan',
  43. MM: '%d buwan',
  44. y: 'isang taon',
  45. yy: '%d taon',
  46. },
  47. dayOfMonthOrdinalParse: /\d{1,2}/,
  48. ordinal: function (number) {
  49. return number;
  50. },
  51. week: {
  52. dow: 1, // Monday is the first day of the week.
  53. doy: 4, // The week that contains Jan 4th is the first week of the year.
  54. },
  55. });