Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin Forms iOS Date Issue. #85

Open
amolk7 opened this issue Jul 16, 2018 · 4 comments
Open

Xamarin Forms iOS Date Issue. #85

amolk7 opened this issue Jul 16, 2018 · 4 comments

Comments

@amolk7
Copy link

amolk7 commented Jul 16, 2018

I am using XamForms.Controls.Calendar for my Xamarin Forms App (Android & iOS)
It's working perfectly on Android but in iOS, something is happening wrong.
Ex: For 15Th Aug 2018 its showing Monday. Actually, it's Wednesday.
Below are the Test Details.
OS: iPhone 7, iPhone X.
XamForms.Controls.Calendar : 1.1.1

Kindly advice.

@amolk7 amolk7 changed the title Date Issue. Xamarin Forms iOS Date Issue. Jul 16, 2018
@amolk7
Copy link
Author

amolk7 commented Jul 27, 2018

Can anyone advice me please!

@stewartsims
Copy link

Hi, see in the README the following section:

IMPORTANT: I you are having problems like: When Changing Months, the days do not update properly in, try adding this to your projects AssemblyInfo.cs:

[assembly:Xamarin.Forms.Platform.<Platform>.ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls.<Platform>.CalendarButtonRenderer))]

in my case for iOS the following worked for me:

[assembly: ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls.iOS.CalendarButtonRenderer))]

Bit strange but it does work. Hope that helps, although probably about a year too late!

@tumengerelb
Copy link

I'm also having this issue.

@tumengerelb
Copy link

xamarin forms platform raising up when adding hte ExportRenderer ni the assemblyinfo.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants