antonmedv/countdown

1h2m3s will be format to 2m3s

shaohui10086 opened this issue · 4 comments

if d.Hours() < 1 {

d.Hours() will always return 0, because it is not the origin input

Can you send PR to fix it?

Sorry, it was caused by my mistake.

I fixed it with #8

Thanks!