diff --git a/modules/events/event.model.js b/modules/events/event.model.js index afd5728..88f0b3a 100644 --- a/modules/events/event.model.js +++ b/modules/events/event.model.js @@ -1,6 +1,7 @@ 'use strict'; const moment = require('moment'); const Sequelize = require('sequelize'); +moment.locale('es'); const getStateText = (conference) => { @@ -20,7 +21,7 @@ const getStateText = (conference) => { if (moment(currentDate).isBetween(init_availableDate, end_availableDate)) { return isFull ? 'Inscripciones abiertas a lista de espera' : 'Inscripciones abiertas'; } else { - return 'Inscripciones a partir del ' + moment(init_availableDate).format('ll'); + return 'Inscripciones a partir del ' + moment(init_availableDate).format('D [de] NNNN'); } } };