I had to make a decision. If curl estimates time left to transfer a file is 4398046511103 seconds. How do we display that in - 7 bytes?

I decided that if the time exceeds 99,999 years we show it as ">99999y" even though a 63bit epoch *can* hold up to 292 billion years.

7 bytes because I need the entire curl progress meter to fit within 79 bytes.

What's a better thing to do on a Saturday? 馃榿

github.com/curl/curl/pull/20173

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/bagder/statuses/115832024979284963 on your instance and quote it. (Note that quoting is not supported in Mastodon.)