Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

tl-ph.js 2.2KB

2 år sedan
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. //! moment.js locale configuration
  11. var tlPh = moment.defineLocale('tl-ph', {
  12. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  13. '_'
  14. ),
  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. '_'
  18. ),
  19. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  20. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  21. longDateFormat: {
  22. LT: 'HH:mm',
  23. LTS: 'HH:mm:ss',
  24. L: 'MM/D/YYYY',
  25. LL: 'MMMM D, YYYY',
  26. LLL: 'MMMM D, YYYY HH:mm',
  27. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  28. },
  29. calendar: {
  30. sameDay: 'LT [ngayong araw]',
  31. nextDay: '[Bukas ng] LT',
  32. nextWeek: 'LT [sa susunod na] dddd',
  33. lastDay: 'LT [kahapon]',
  34. lastWeek: 'LT [noong nakaraang] dddd',
  35. sameElse: 'L',
  36. },
  37. relativeTime: {
  38. future: 'sa loob ng %s',
  39. past: '%s ang nakalipas',
  40. s: 'ilang segundo',
  41. ss: '%d segundo',
  42. m: 'isang minuto',
  43. mm: '%d minuto',
  44. h: 'isang oras',
  45. hh: '%d oras',
  46. d: 'isang araw',
  47. dd: '%d araw',
  48. M: 'isang buwan',
  49. MM: '%d buwan',
  50. y: 'isang taon',
  51. yy: '%d taon',
  52. },
  53. dayOfMonthOrdinalParse: /\d{1,2}/,
  54. ordinal: function (number) {
  55. return number;
  56. },
  57. week: {
  58. dow: 1, // Monday is the first day of the week.
  59. doy: 4, // The week that contains Jan 4th is the first week of the year.
  60. },
  61. });
  62. return tlPh;
  63. })));