tl-ph.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // moment.js language configuration
  2. // language : Tagalog/Filipino (tl-ph)
  3. // author : Dan Hagman
  4. (function (factory) {
  5. if (typeof define === 'function' && define.amd) {
  6. define(['moment'], factory); // AMD
  7. } else if (typeof exports === 'object') {
  8. module.exports = factory(require('../moment')); // Node
  9. } else {
  10. factory(window.moment); // Browser global
  11. }
  12. }(function (moment) {
  13. return moment.lang('tl-ph', {
  14. months : "Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),
  15. monthsShort : "Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),
  16. weekdays : "Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),
  17. weekdaysShort : "Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),
  18. weekdaysMin : "Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),
  19. longDateFormat : {
  20. LT : "HH:mm",
  21. L : "MM/D/YYYY",
  22. LL : "MMMM D, YYYY",
  23. LLL : "MMMM D, YYYY LT",
  24. LLLL : "dddd, MMMM DD, YYYY LT"
  25. },
  26. calendar : {
  27. sameDay: "[Ngayon sa] LT",
  28. nextDay: '[Bukas sa] LT',
  29. nextWeek: 'dddd [sa] LT',
  30. lastDay: '[Kahapon sa] LT',
  31. lastWeek: 'dddd [huling linggo] LT',
  32. sameElse: 'L'
  33. },
  34. relativeTime : {
  35. future : "sa loob ng %s",
  36. past : "%s ang nakalipas",
  37. s : "ilang segundo",
  38. m : "isang minuto",
  39. mm : "%d minuto",
  40. h : "isang oras",
  41. hh : "%d oras",
  42. d : "isang araw",
  43. dd : "%d araw",
  44. M : "isang buwan",
  45. MM : "%d buwan",
  46. y : "isang taon",
  47. yy : "%d taon"
  48. },
  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. });
  57. }));