tl-ph.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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'
  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. var tl_ph = moment.defineLocale('tl-ph', {
  11. months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  12. monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  13. weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
  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: '[Ngayon sa] LT',
  26. nextDay: '[Bukas sa] LT',
  27. nextWeek: 'dddd [sa] LT',
  28. lastDay: '[Kahapon sa] LT',
  29. lastWeek: 'dddd [huling linggo] LT',
  30. sameElse: 'L'
  31. },
  32. relativeTime : {
  33. future : 'sa loob ng %s',
  34. past : '%s ang nakalipas',
  35. s : 'ilang 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. ordinalParse: /\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. });
  56. return tl_ph;
  57. }));