Bug 3766 - Problem setting the month value in the DatePicker control
Summary: Problem setting the month value in the DatePicker control
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-03-06 09:09 UTC by Conor O'Doherty
Modified: 2012-10-10 09:25 UTC (History)
2 users (show)

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

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 Conor O'Doherty 2012-03-06 09:09:49 UTC
When setting the the month value in the DatePicker either by using the UpdateDate or Init methods sets the month to a value month +1. 

Example: callin the DatePicker method UpdateDate(2012, 3, 6) sets the date to "2012 Apr 06" on the screen but the control holds the value 2012/03/06.

Why does the screen show the wrong date? I'm using a HTC Flyer Android version 2.3.3
Comment 1 Conor O'Doherty 2012-03-06 09:52:26 UTC
Ahh! I see this is an Android feature, how cleaver :-/