简体   繁体   中英

Syncfusion Calendar render wrong month for blackout date

Good Day!

I am trying to use Syncfusion Calendar Plugin in my Xamarin Forms project. Everything is working fine, except rendering blackout dates. This is the documentation for this plugin. The problem is when I create new DateTime object, for example new DateTime(2016, 10, 28), and render calendar it restricts not 28 October, but 28 September, ie 10th month is September.

I also can't resrict dates in January because it should be 0, but in DateTime there is an index reference error.

Does anybody know the solution for this problem?

This is the bug with SfCalendar component. The fix will be included in upcoming Volume 3 Service pack 1 release which is expected to be rolled out by the end of October 2016.

Now you can use this patch to fix this problem http://syncfusion.com/Installs/support/patch/14.3.0.49/861963/165865/SyncfusionPatch_14.3.0.49_861963_10202016024734117_165865.zip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM