Hi guys,
I encounter a bug on XamMonthView where the Start time get the wrong time of UTC. What I should expect is, I set 19/3/2013 7.00 (GMT +8.00) when I click save&close it should be 18/3/2013 23.00 (GMT +0.00). However I get back the same date 19/3/2013 7.00 . When I try controller XamDayView I get what I expect to get.
Regards,
snuffykl
Hello Snuffykl,
Thank you for your post I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
Hi Steffan,
Thank you for replying. I have modify the code u sent me and reproduce my problem.
I reupload again the sample because I did not change the UTC to Singapore Standard Time. Please use this sample instead of the previous one to verify. Thank you.
This is the correct behavior. When you create an activity in the xamMonthView (e.g. double click on a day) the "All Day Event" checkbox is checked (just as it is MS Outlook). When that is checked, the appt is a time-zone neutral activity (IsTimeZoneNeutral is true). When IsTimeZoneNeutral is true the dates are treated as relative to whatever the current timezone is.
BTW, this is not specific to xamMonthView. The same thing happens when you double click on the All Day Event area of a xamDayView.
Hi Andrew,
Ah yes you are right, I just noticed the all day event is checked in XamMonthView and not in XamDayView. Thanks alot man to you and Steffan.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.