I am attempting to simply get a standard lexigraphical time display in the prompt and the history file in the range of 00:00:00 to 23:59:59. I've tried
but this just produces, for example,
when time is before noon. I need it to display
07:12:43 instead so that the times sort correctly and the widths are uniform. Can I do this?