Fix formatTime

Signed-off-by: jeanroldao <jeanroldao@gmail.com>