您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

80 行
2.7KB

  1. //! moment.js locale configuration
  2. //! locale : Tetun Dili (East Timor) [tet]
  3. //! author : Joshua Brooks : https://github.com/joshbrooks
  4. //! author : Onorio De J. Afonso : https://github.com/marobo
  5. //! author : Sonia Simoes : https://github.com/soniasimoes
  6. ;(function (global, factory) {
  7. typeof exports === 'object' && typeof module !== 'undefined'
  8. && typeof require === 'function' ? factory(require('../moment')) :
  9. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  10. factory(global.moment)
  11. }(this, (function (moment) { 'use strict';
  12. //! moment.js locale configuration
  13. var tet = moment.defineLocale('tet', {
  14. months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
  15. '_'
  16. ),
  17. monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  18. weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  19. weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  20. weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  21. longDateFormat: {
  22. LT: 'HH:mm',
  23. LTS: 'HH:mm:ss',
  24. L: 'DD/MM/YYYY',
  25. LL: 'D MMMM YYYY',
  26. LLL: 'D MMMM YYYY HH:mm',
  27. LLLL: 'dddd, D MMMM YYYY HH:mm',
  28. },
  29. calendar: {
  30. sameDay: '[Ohin iha] LT',
  31. nextDay: '[Aban iha] LT',
  32. nextWeek: 'dddd [iha] LT',
  33. lastDay: '[Horiseik iha] LT',
  34. lastWeek: 'dddd [semana kotuk] [iha] LT',
  35. sameElse: 'L',
  36. },
  37. relativeTime: {
  38. future: 'iha %s',
  39. past: '%s liuba',
  40. s: 'segundu balun',
  41. ss: 'segundu %d',
  42. m: 'minutu ida',
  43. mm: 'minutu %d',
  44. h: 'oras ida',
  45. hh: 'oras %d',
  46. d: 'loron ida',
  47. dd: 'loron %d',
  48. M: 'fulan ida',
  49. MM: 'fulan %d',
  50. y: 'tinan ida',
  51. yy: 'tinan %d',
  52. },
  53. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  54. ordinal: function (number) {
  55. var b = number % 10,
  56. output =
  57. ~~((number % 100) / 10) === 1
  58. ? 'th'
  59. : b === 1
  60. ? 'st'
  61. : b === 2
  62. ? 'nd'
  63. : b === 3
  64. ? 'rd'
  65. : 'th';
  66. return number + output;
  67. },
  68. week: {
  69. dow: 1, // Monday is the first day of the week.
  70. doy: 4, // The week that contains Jan 4th is the first week of the year.
  71. },
  72. });
  73. return tet;
  74. })));