Display time in user- or locale-defined format in timepicker

This assumes that the format contains only the time, which is a reasonable
assumption, given that formatViewType was introduced explicitly to support
a time picker mode.
Merge pull request #306 from mbertheau/timepicker

Display time in user- or locale-defined format in timepicker