Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tet.js 2.0KB

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