Bugfixes: timepicker, and date with format 'yy'

Fixed two small issues.