fixed bug #4257 Hide fractional seconds #3

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