tl-ph.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var tlPh = moment.defineLocale('tl-ph', {
  9. months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  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. weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  13. weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  14. longDateFormat : {
  15. LT : 'HH:mm',
  16. LTS : 'HH:mm:ss',
  17. L : 'MM/D/YYYY',
  18. LL : 'MMMM D, YYYY',
  19. LLL : 'MMMM D, YYYY HH:mm',
  20. LLLL : 'dddd, MMMM DD, YYYY HH:mm'
  21. },
  22. calendar : {
  23. sameDay: 'LT [ngayong araw]',
  24. nextDay: '[Bukas ng] LT',
  25. nextWeek: 'LT [sa susunod na] dddd',
  26. lastDay: 'LT [kahapon]',
  27. lastWeek: 'LT [noong nakaraang] dddd',
  28. sameElse: 'L'
  29. },
  30. relativeTime : {
  31. future : 'sa loob ng %s',
  32. past : '%s ang nakalipas',
  33. s : 'ilang segundo',
  34. ss : '%d 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. dayOfMonthOrdinalParse: /\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 tlPh;
  56. })));