tl-ph.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //! moment.js locale configuration
  2. //! locale : Tagalog (Philippines) [tl-ph]
  3. //! author : Dan Hagman : https://github.com/hagmandan
  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 tlPh = 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: '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. });
  57. return tlPh;
  58. })));