bug fixes

Correcting bugs with dates being passed in as the first field.
Correcting single digit hour, minute, and seconds output.