Node-Red configuration
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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:
  17. 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
  18. '_'
  19. ),
  20. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  21. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  22. weekdaysParseExact: true,
  23. longDateFormat: {
  24. LT: 'HH:mm',
  25. LTS: 'HH:mm:ss',
  26. L: 'DD/MM/YYYY',
  27. LL: 'D [de] MMMM [de] YYYY',
  28. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  29. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
  30. },
  31. calendar: {
  32. sameDay: '[Hoje às] LT',
  33. nextDay: '[Amanhã às] LT',
  34. nextWeek: 'dddd [às] LT',
  35. lastDay: '[Ontem às] LT',
  36. lastWeek: function () {
  37. return this.day() === 0 || this.day() === 6
  38. ? '[Último] dddd [às] LT' // Saturday + Sunday
  39. : '[Última] dddd [às] LT'; // Monday - Friday
  40. },
  41. sameElse: 'L',
  42. },
  43. relativeTime: {
  44. future: 'em %s',
  45. past: 'há %s',
  46. s: 'segundos',
  47. ss: '%d segundos',
  48. m: 'um minuto',
  49. mm: '%d minutos',
  50. h: 'uma hora',
  51. hh: '%d horas',
  52. d: 'um dia',
  53. dd: '%d dias',
  54. w: 'uma semana',
  55. ww: '%d semanas',
  56. M: 'um mês',
  57. MM: '%d meses',
  58. y: 'um ano',
  59. yy: '%d anos',
  60. },
  61. dayOfMonthOrdinalParse: /\d{1,2}º/,
  62. ordinal: '%dº',
  63. week: {
  64. dow: 1, // Monday is the first day of the week.
  65. doy: 4, // The week that contains Jan 4th is the first week of the year.
  66. },
  67. });
  68. return pt;
  69. })));