It's arguable if this is a bug in rust-coreutils or update-notifier. On the one hand, if rust-coreutils wishes to be a perfect "drop-in" replacement for GNU coreutils, it is something that needs fixing in rust-coreutils.
On the other hand, looking at the full info documentation for GNU coreutils "date", I can't find anywhere that says you *can* use a fractional number in date offsets, which suggests we shouldn't. A counter to that is: in practice GNU's "date" only appears to accept fractional values for seconds, not for days, or hours, etc. which suggests a special case has been made somewhere to explicitly permit this, but which wasn't documented. Ultimately, I don't see any particular advantage in update-notifier continuing to use a fractional seconds calculation here so I'll just fix it here anyway. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2122359 Title: date: invalid date 'now - X seconds' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/2122359/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
