Fixed 24-hour time formats not being used in time pickers.

I noticed that 24-hour formats are no longer used in the time pickers for the date and time fields. This ensures that the proper formats are being selected.

It seems like this change was missed while splitting the time format options into `*_time_format` and `*_time_format_24`. In that sense, this is a revamp of #919.