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.

pt.js 2.3KB

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