fil.js 1.7 KB

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