Formato Fecha Calendario evento.FechaFin.Value.ToString("yyyy/MM/dd")
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C179
This commit is contained in:
parent
66fad9b3d3
commit
46eccebcb6
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
||||||
{
|
{
|
||||||
id = evento.IdCalendario.ToString(),
|
id = evento.IdCalendario.ToString(),
|
||||||
allDay = evento.DiaCompleto.HasValue ? evento.DiaCompleto.Value : false,
|
allDay = evento.DiaCompleto.HasValue ? evento.DiaCompleto.Value : false,
|
||||||
start = evento.FechaInicio.HasValue ? evento.FechaInicio.Value.ToString() : string.Empty,
|
start = evento.FechaInicio.HasValue ? evento.FechaInicio.Value.ToString("yyyy/MM/dd") : string.Empty,
|
||||||
end = evento.FechaFin.HasValue ? evento.FechaFin.Value.ToString() : string.Empty,
|
end = evento.FechaFin.HasValue ? evento.FechaFin.Value.ToString("yyyy/MM/dd") : string.Empty,
|
||||||
title = evento.Titulo
|
title = evento.Titulo
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue