Merge branch 'marco' of https://repositorio.acatlan.unam.mx/CIDWA/servicio_social_front
This commit is contained in:
@@ -44,7 +44,7 @@ export default {
|
||||
methods: {
|
||||
fecha(date) {
|
||||
const fecha = moment(date.substr(0, 10));
|
||||
return `${fecha.year()}/${fecha.month() + 1}/${fecha.date()}`;
|
||||
return `${fecha.date()}/${fecha.month() + 1}/${fecha.year()}`;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -384,7 +384,7 @@ export default {
|
||||
fecha(date) {
|
||||
if (date) {
|
||||
const fecha = moment(date.substr(0, 10));
|
||||
return `${fecha.year()}/${fecha.month() + 1}/${fecha.date()}`;
|
||||
return `${fecha.date()}/${fecha.month() + 1}/${fecha.year()}`;
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user