Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

pt.js 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //! moment.js locale configuration
  2. //! locale : Portuguese [pt]
  3. //! author : Jefferson : https://github.com/jalex79
  4. import moment from '../moment';
  5. export default moment.defineLocale('pt', {
  6. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  7. '_'
  8. ),
  9. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  10. weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
  11. '_'
  12. ),
  13. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  14. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  15. weekdaysParseExact: true,
  16. longDateFormat: {
  17. LT: 'HH:mm',
  18. LTS: 'HH:mm:ss',
  19. L: 'DD/MM/YYYY',
  20. LL: 'D [de] MMMM [de] YYYY',
  21. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  22. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
  23. },
  24. calendar: {
  25. sameDay: '[Hoje às] LT',
  26. nextDay: '[Amanhã às] LT',
  27. nextWeek: 'dddd [às] LT',
  28. lastDay: '[Ontem às] LT',
  29. lastWeek: function () {
  30. return this.day() === 0 || this.day() === 6
  31. ? '[Último] dddd [às] LT' // Saturday + Sunday
  32. : '[Última] dddd [às] LT'; // Monday - Friday
  33. },
  34. sameElse: 'L',
  35. },
  36. relativeTime: {
  37. future: 'em %s',
  38. past: 'há %s',
  39. s: 'segundos',
  40. ss: '%d segundos',
  41. m: 'um minuto',
  42. mm: '%d minutos',
  43. h: 'uma hora',
  44. hh: '%d horas',
  45. d: 'um dia',
  46. dd: '%d dias',
  47. w: 'uma semana',
  48. ww: '%d semanas',
  49. M: 'um mês',
  50. MM: '%d meses',
  51. y: 'um ano',
  52. yy: '%d anos',
  53. },
  54. dayOfMonthOrdinalParse: /\d{1,2}º/,
  55. ordinal: '%dº',
  56. week: {
  57. dow: 1, // Monday is the first day of the week.
  58. doy: 4, // The week that contains Jan 4th is the first week of the year.
  59. },
  60. });