Fix Timepicker problem #6

Fix 'Invalid Date' error in time mode on Android.
Thanks to n00d!