FlipClock icon indicating copy to clipboard operation
FlipClock copied to clipboard

Default negative values support confuse people

Open michael-yin opened this issue 5 years ago • 1 comments

version 0.10.x Supports negative values by default, if we enable countdown with flipclock, then we would see -0:00 in the end, but I think 00:00 would be better here (like the old version).

The - sign in the face sometimes confuse people. I think we better add option to let developer disable this feature.

flipclock

michael-yin avatar Jan 27 '20 01:01 michael-yin

I believed this issue is related to the getTotalSeconds() in flipclock.js

After calculated the time difference, the Math.round() just rounded the diff value likes -0.0... as -0, not 0

Therefore, the negative sign shows when countdown to zero

ericchan3721 avatar Apr 13 '21 03:04 ericchan3721