Add test for datetime formats for timepickers.