Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

70 řádky
2.3KB

  1. //! moment.js locale configuration
  2. //! locale : Filipino [fil]
  3. //! author : Dan Hagman : https://github.com/hagmandan
  4. //! author : Matthew Co : https://github.com/matthewdeeco
  5. ;(function (global, factory) {
  6. typeof exports === 'object' && typeof module !== 'undefined'
  7. && typeof require === 'function' ? factory(require('../moment')) :
  8. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  9. factory(global.moment)
  10. }(this, (function (moment) { 'use strict';
  11. //! moment.js locale configuration
  12. var fil = moment.defineLocale('fil', {
  13. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  14. '_'
  15. ),
  16. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  17. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  18. '_'
  19. ),
  20. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  21. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  22. longDateFormat: {
  23. LT: 'HH:mm',
  24. LTS: 'HH:mm:ss',
  25. L: 'MM/D/YYYY',
  26. LL: 'MMMM D, YYYY',
  27. LLL: 'MMMM D, YYYY HH:mm',
  28. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  29. },
  30. calendar: {
  31. sameDay: 'LT [ngayong araw]',
  32. nextDay: '[Bukas ng] LT',
  33. nextWeek: 'LT [sa susunod na] dddd',
  34. lastDay: 'LT [kahapon]',
  35. lastWeek: 'LT [noong nakaraang] dddd',
  36. sameElse: 'L',
  37. },
  38. relativeTime: {
  39. future: 'sa loob ng %s',
  40. past: '%s ang nakalipas',
  41. s: 'ilang segundo',
  42. ss: '%d segundo',
  43. m: 'isang minuto',
  44. mm: '%d minuto',
  45. h: 'isang oras',
  46. hh: '%d oras',
  47. d: 'isang araw',
  48. dd: '%d araw',
  49. M: 'isang buwan',
  50. MM: '%d buwan',
  51. y: 'isang taon',
  52. yy: '%d taon',
  53. },
  54. dayOfMonthOrdinalParse: /\d{1,2}/,
  55. ordinal: function (number) {
  56. return number;
  57. },
  58. week: {
  59. dow: 1, // Monday is the first day of the week.
  60. doy: 4, // The week that contains Jan 4th is the first week of the year.
  61. },
  62. });
  63. return fil;
  64. })));