diff options
author | zacharystenger <zackstenger@gmail.com> | 2019-02-12 00:16:15 -0800 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-02-12 09:16:15 +0100 |
commit | ec24796ea83dbe15863c4f074844abbb4cdd5e08 (patch) | |
tree | 2342c9f3aa15fdadf21f61bdee9c46b456f16e7b /client/src/app/shared/misc/loader.component.ts | |
parent | 7519127b5cb44095f78f6bf4c51d4ebf2b7d5e88 (diff) | |
download | PeerTube-ec24796ea83dbe15863c4f074844abbb4cdd5e08.tar.gz PeerTube-ec24796ea83dbe15863c4f074844abbb4cdd5e08.tar.zst PeerTube-ec24796ea83dbe15863c4f074844abbb4cdd5e08.zip |
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
Diffstat (limited to 'client/src/app/shared/misc/loader.component.ts')
0 files changed, 0 insertions, 0 deletions