I have a need to display a time-of-day value in a site's chosen time format.
For example I have
16:42:18 and want to display it as
4:42 PM if the
time_format option is
g:i A, or
16:42:18 if the
I need this to render data captured by HTML5's <input type="time"> form field.
How to do this?