Android 4.2: December month missing in calendar
code.google.com
code.google.com
It's caused by the convention of the Android datepicker to store month values as 0-11 instead of 1-12.
Dates are given in 1-31 as expected; and years are given in e.g. 2012 as expected; but months are given in 0-11 which is totally inconsistent with how people normally number months and how the rest of the API works.
So for January 1st, 2012, printing 'getDate()', 'getMonth()', and 'getYear()' would yield '1-0-2012'. It's a badly designed API and I'm surprised there aren't more instances of this breaking.
(I ran into this once in our codebase, but we managed to fix it pretty quickly).
That numbering is consistent with Java and the constants in the Android API.
http://docs.oracle.com/javase/1.4.2/docs/api/constant-values...
http://developer.android.com/reference/java/util/Calendar.ht...
Nontheless I agree that it's bad API design.
Suddenly, a 1-12 value for "month" is directly an index into an array to convert the number into a string...
>> (new Date()).getMonth();
10
but getFullYear() and getDate() give 2012 and 18 as expected."It's only broken in the People app (like #29 said, Calendar is fine).
I'm running JOP40C, and I can confirm this bug (in the People app) with all date formats."
Stuff like better animations for the app switcher made my own Nexus 7 feel faster after the 4.2 update. Of course, that's just a perceptual change.
Prior to 4.2, Chrome with many tabs open and Adobe Reader were my only major annoyances. Chrome seems somewhat better, though since I've cut down on tab usage and started using Firefox more I'm not sure how much it's really improved. As for Reader, I just use ezPDF for larger documents now.
It's also disappointing that some longstanding Chrome issues have not been fixed.
If the option were available to go back, I would take it.
Did anybody notice heavy CPU load?