fixed bug #4257 Hide fractional seconds #2

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