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 2.5KB

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