Bug 43785 - [Xamarin.Forms][Android] DatePicker shows wrong date
Summary: [Xamarin.Forms][Android] DatePicker shows wrong date
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-08-26 12:14 UTC by Paul Ennemoser
Modified: 2016-09-23 17:30 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Screenshot of Bug (37.01 KB, image/png)
2016-08-26 12:14 UTC, Paul Ennemoser

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Paul Ennemoser 2016-08-26 12:14:09 UTC
Created attachment 17221 [details]
Screenshot of Bug

Dear Xamarin Team,

we've encountered a strange problem with the DatePicker control in Xamarin Forms ( on Android.
We can't easily test it on any other platform.

 - If a date below 1989 is selected (for example 1970)
 - And when you now close and reopen the DatePicker for a second time
 - Then the DatePicker shows 1989 again, instead of the set date
The text in the DatePicker header correctly shows 1970.
When entering dates above 1989 everything works as expected.

See the attached screenshot.
Please tell me if you need any other information.

Thank you for your support.
Paul Ennemoser
Jarosch & Haas GmbH
Comment 1 Samantha Houts [MSFT] 2016-08-26 17:51:46 UTC
Thank you for taking the time to submit the bug. We tried to reproduce the issue you reported but were unable given the description. We have tested with multiple Android API versions and and with AppCompat enabled and disabled, and the DatePicker does not seem to exhibit the behavior described.

If you could please attach a reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue, we would very much appreciate it.  

For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d  

Warm regards, 
Xamarin Forms Team
Comment 2 Paul Ennemoser 2016-09-09 07:57:26 UTC
Dear Samantha,

thank you for your quick response. It appears to be a device specific problem with the Coppernic C-One.

Our sample application works just fine on a Nexus 5X, but shows the strange behaviour on a Coppernic C-One. We are now in contact with Coppernic.

Best wishes,
Paul Ennemoser
Jarosch & Haas GmbH
Comment 3 Samantha Houts [MSFT] 2016-09-23 17:30:03 UTC
Interesting! Thank you for the information. I will go ahead and close this report now, but please reopen it if there is anything we can do on our end to help.

Warm regards,
Xamarin Forms Team