You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.1 KiB

  1. //! moment.js locale configuration
  2. //! locale : Tagalog/Filipino (tl-ph)
  3. //! author : Dan Hagman
  4. (function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
  6. typeof define === 'function' && define.amd ? define(['moment'], factory) :
  7. factory(global.moment)
  8. }(this, function (moment) { 'use strict';
  9. var tl_ph = moment.defineLocale('tl-ph', {
  10. months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  11. monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  12. weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
  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 : 'LT:ss',
  18. L : 'MM/D/YYYY',
  19. LL : 'MMMM D, YYYY',
  20. LLL : 'MMMM D, YYYY LT',
  21. LLLL : 'dddd, MMMM DD, YYYY LT'
  22. },
  23. calendar : {
  24. sameDay: '[Ngayon sa] LT',
  25. nextDay: '[Bukas sa] LT',
  26. nextWeek: 'dddd [sa] LT',
  27. lastDay: '[Kahapon sa] LT',
  28. lastWeek: 'dddd [huling linggo] LT',
  29. sameElse: 'L'
  30. },
  31. relativeTime : {
  32. future : 'sa loob ng %s',
  33. past : '%s ang nakalipas',
  34. s : 'ilang segundo',
  35. m : 'isang minuto',
  36. mm : '%d minuto',
  37. h : 'isang oras',
  38. hh : '%d oras',
  39. d : 'isang araw',
  40. dd : '%d araw',
  41. M : 'isang buwan',
  42. MM : '%d buwan',
  43. y : 'isang taon',
  44. yy : '%d taon'
  45. },
  46. ordinalParse: /\d{1,2}/,
  47. ordinal : function (number) {
  48. return number;
  49. },
  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. });
  55. return tl_ph;
  56. }));