a
This commit is contained in:
parent
02016f5cd2
commit
296b41508b
@ -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');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user