src/app/legacy/psammead/psammead-locales/moment/es.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
const moment = require('moment');
require('moment/locale/es');

moment.updateLocale('es', {
  longDateFormat: {
    LL: 'D MMMM YYYY',
    LLL: 'D MMMM YYYY H:mm',
    LLLL: 'dddd, D MMMM YYYY H:mm',
  },
  relativeTime: {
    past: '%s',
    m: '1 minuto',
    mm: '%d minutos',
    h: '1 hora',
    hh: '%d horas',
  },
});