Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Google/DetailsEvents/VanGEventDetail.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 | 33976aea7546 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Google/DetailsEvents/VanGEventDetail.cs Sat Aug 13 02:40:00 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Google/DetailsEvents/VanGEventDetail.cs Mon Aug 15 15:35:17 2011 -0400 @@ -24,11 +24,8 @@ { Title = "VAN sobre " + 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; Summary = TextoVan.Replace("[NOMBRE]", evento.Titulo).