tet.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 tet = moment.defineLocale('tet', {
  9. months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
  10. monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  11. weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  12. weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  13. weekdaysMin : 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  14. longDateFormat : {
  15. LT : 'HH:mm',
  16. LTS : 'HH:mm:ss',
  17. L : 'DD/MM/YYYY',
  18. LL : 'D MMMM YYYY',
  19. LLL : 'D MMMM YYYY HH:mm',
  20. LLLL : 'dddd, D MMMM YYYY HH:mm'
  21. },
  22. calendar : {
  23. sameDay: '[Ohin iha] LT',
  24. nextDay: '[Aban iha] LT',
  25. nextWeek: 'dddd [iha] LT',
  26. lastDay: '[Horiseik iha] LT',
  27. lastWeek: 'dddd [semana kotuk] [iha] LT',
  28. sameElse: 'L'
  29. },
  30. relativeTime : {
  31. future : 'iha %s',
  32. past : '%s liuba',
  33. s : 'minutu balun',
  34. ss : 'minutu %d',
  35. m : 'minutu ida',
  36. mm : 'minutu %d',
  37. h : 'oras ida',
  38. hh : 'oras %d',
  39. d : 'loron ida',
  40. dd : 'loron %d',
  41. M : 'fulan ida',
  42. MM : 'fulan %d',
  43. y : 'tinan ida',
  44. yy : 'tinan %d'
  45. },
  46. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  47. ordinal : function (number) {
  48. var b = number % 10,
  49. output = (~~(number % 100 / 10) === 1) ? 'th' :
  50. (b === 1) ? 'st' :
  51. (b === 2) ? 'nd' :
  52. (b === 3) ? 'rd' : 'th';
  53. return number + output;
  54. },
  55. week : {
  56. dow : 1, // Monday is the first day of the week.
  57. doy : 4 // The week that contains Jan 4th is the first week of the year.
  58. }
  59. });
  60. return tet;
  61. })));