Fix negative seconds by displaying 0 instead (#1445) (#1625)
Fix negative seconds by displaying 0 instead (#1445) (#1625)

* Fix from-now.pipe.ts so it never displays negative seconds

* Apply the fix only when returning seconds. Remove redundant Math.floor operation

Green-Star/PeerTube,Chocobozzz/PeerTube,Green-Star/PeerTube,Green-Star/PeerTube,Chocobozzz/PeerTube,Green-Star/PeerTube,Chocobozzz/PeerTube,Chocobozzz/PeerTube