tet.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. ;(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. var tet = moment.defineLocale('tet', {
  12. months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
  13. monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez'.split('_'),
  14. weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu'.split('_'),
  15. weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sext_Sab'.split('_'),
  16. weekdaysMin : 'Do_Seg_Te_Ku_Ki_Sex_Sa'.split('_'),
  17. longDateFormat : {
  18. LT : 'HH:mm',
  19. LTS : 'HH:mm:ss',
  20. L : 'DD/MM/YYYY',
  21. LL : 'D MMMM YYYY',
  22. LLL : 'D MMMM YYYY HH:mm',
  23. LLLL : 'dddd, D MMMM YYYY HH:mm'
  24. },
  25. calendar : {
  26. sameDay: '[Ohin iha] LT',
  27. nextDay: '[Aban iha] LT',
  28. nextWeek: 'dddd [iha] LT',
  29. lastDay: '[Horiseik iha] LT',
  30. lastWeek: 'dddd [semana kotuk] [iha] LT',
  31. sameElse: 'L'
  32. },
  33. relativeTime : {
  34. future : 'iha %s',
  35. past : '%s liuba',
  36. s : 'minutu balun',
  37. m : 'minutu ida',
  38. mm : 'minutus %d',
  39. h : 'horas ida',
  40. hh : 'horas %d',
  41. d : 'loron ida',
  42. dd : 'loron %d',
  43. M : 'fulan ida',
  44. MM : 'fulan %d',
  45. y : 'tinan ida',
  46. yy : 'tinan %d'
  47. },
  48. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  49. ordinal : function (number) {
  50. var b = number % 10,
  51. output = (~~(number % 100 / 10) === 1) ? 'th' :
  52. (b === 1) ? 'st' :
  53. (b === 2) ? 'nd' :
  54. (b === 3) ? 'rd' : 'th';
  55. return number + output;
  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 tet;
  63. })));