fixed bug #4257 Hide fractional seconds

Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>