Dear SF Team,
I am using Xamarin.Forms SfCalendar and on iOS in OnYearCellViewLoaded event I am getting some e.Month dates shifted by one hour back- more precisely, being in the +2 UTC offset TimeZone on summer time, the winter dates come as f.e. 11PM Feb 28 instead of 12AM March.
I was able to work around this issue with the following hack:
var correctDate = e.Month.IsDaylightSavingTime() ? e.Month : e.Month.AddHours(1);
However, I'd like to know if I am doing something wrong.
Thank you in advance.
Hi Maiia,
#Regarding In OnYearCellLoaded event on iOS e.Month is shifted because of daylight saving rules
We need more information about the reported scenario from your end. Could you please share the issue replicate TimeZone details and also share the Time Zone and Closed City used in the Mac System inside the Time Zone settings which could help us to provide a better solution from our end?
Regards,
SaiGanesh Sakthivel
Hi,
Here are the Mac settings. What exactly is meant by "issue replicate TimeZone details"? Could you please give more exact instruction on how to provide needed info to you?
Thank you in advance.
Hi Maiia,
#Regarding In OnYearCellLoaded event on iOS e.Month is shifted because of daylight saving rules
Currently, we are Validating the reported scenario from our end. We will update you on the further details on 13 April, 2022. We appreciate the patience until then.
Regards,
SaiGanesh Sakthivel
Hi Maiia,
#Regarding In OnYearCellLoaded event on iOS e.Month is shifted because of daylight saving rules
Currently, we are validating the reported issue in our source level. We will update you on the further details on April 19, 2022. We appreciate the patience until then.
Regards,
SaiGanesh Sakthivel
Hi Maiia,
#Regarding In OnYearCellLoaded event on iOS e.Month is shifted because of daylight saving rules
We have found and fixed the reported scenario from our end. We will include the issue fix in our upcoming weekly nuget release which is expected to roll out on April 26, 2022. We appreciate the patience until then.
Regards,
SaiGanesh Sakthivel
Hi Maiia,
#Regarding In OnYearCellLoaded event on iOS e.Month is shifted because of daylight saving rules
We
have fixed the reported issue and included the issue fix in our latest Weekly
NuGet release update version 20.1.0.51 onwards which is
available for download (nuget.org).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
SaiGanesh Sakthivel