ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 50 forks source link

Uptime broken when under 1 minute #28

Closed dwzg closed 4 years ago

dwzg commented 4 years ago

Right after booting the uptime is broken until 1 minute is reached. uptime_bug

ss7m commented 4 years ago

Latest commit should fix this

dwzg commented 4 years ago

Can confirm that the bug is fixed.

allisio commented 4 years ago

Should we perhaps report seconds instead of always reporting minutes even when they're zero?

ss7m commented 4 years ago

I think I'd actually prefer 0 mins to reporting seconds; I don't think its worth the hassle (not that it'd necessarily be that big a hassle) for what amounts to a tiny edge case