Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Google/DetailsEvents/CafeGEventDetail.cs @ 198:cd96cfc8a1f5
Se agrega la fecha de termino a Google Calendar.
author | alabra |
---|---|
date | Mon, 15 Aug 2011 15:35:17 -0400 |
parents | 2d02adb79322 |
children | a6037c6c88d8 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Google/DetailsEvents/CafeGEventDetail.cs Sat Aug 13 02:40:00 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Google/DetailsEvents/CafeGEventDetail.cs Mon Aug 15 15:35:17 2011 -0400 @@ -23,10 +23,8 @@ { Title = "Alt.Net Café " + evento.Titulo; Location = "http://snipr.com/virtualaltnet"; - if (evento.FechaInicio != null) - StartEvent = new DateTime(evento.FechaInicio.Value.Year, evento.FechaInicio.Value.Month, evento.FechaInicio.Value.Day, - 18, 0, 0, DateTimeKind.Utc); - EndEvent = StartEvent.AddHours(2); + StartEvent = evento.FechaInicio.Value; + EndEvent = evento.FechaTermino.Value; var cultureInfo = new CultureInfo("es-ES", false).DateTimeFormat;