I assume there may be a small time desynchronization between server and client, but in any case i don't think this is what we want to be displaying:

I'd expect we could solve this by rounding any times more recent than a couple seconds to "just now" or something, ignoring negative values effectively.
I may work on this one this weekend
It seems it happens when publishing videos as well...

@Poslovitch any news on this? :)
@Chocobozz hi, sorry, I'll have to dismiss my contribution. I don't feel confident enough with this language. Sorry again :(
Hi, I'd like to fix this issue. I believe I've got a proper fix here. It uses Math.max to make a negative seconds result equal to zero instead. It also gets rid of a redundant Math.floor operation.
@zacharystenger thanks ! Please make a pull request.
Fixed by @zacharystenger in https://github.com/Chocobozzz/PeerTube/commit/ec24796ea83dbe15863c4f074844abbb4cdd5e08
Most helpful comment
@Chocobozz hi, sorry, I'll have to dismiss my contribution. I don't feel confident enough with this language. Sorry again :(