D-Day Calendar has wrong dates when importing from google calendar?
Posted
by chobo2
on Stack Overflow
See other posts from Stack Overflow
or by chobo2
Published on 2010-03-23T06:08:02Z
Indexed on
2010/03/23
6:13 UTC
Read the original article
Hit count: 406
Hi
I am using D-Day calendar and I am not sure but I got a weird problem.
I basically have this for my code
iCalendar iCal = iCalendar.LoadFromStream(file.InputStream);
foreach (Event evt in iCal.Events)
{
DateTime start = evt.DTStart.Date;
DateTime end = evt.DTEnd.Date;
// loop through it and get values.
}
Yet when I import a calendar from google calendar the end date is messed up on some of the stuff I am importing.
Like for instance I have this
Title: should not show When: Sun, March 21(all day).
Yet when I import it in. I says the start date is the 21st yet the end date is the 22nd when it should be the 21st.
Not sure what is going on.
I am not really sure what other info I can give you guys.
© Stack Overflow or respective owner