Fix time duration value
authorr <r@freesoftwareextremist.com>
Wed, 19 Feb 2020 16:33:21 +0000 (16:33 +0000)
committerr <r@freesoftwareextremist.com>
Wed, 19 Feb 2020 16:33:21 +0000 (16:33 +0000)
commitdd23ac48678c704949074dd0e41bb8a3550cc33f
tree923248c707bcf17db9a7b921195933c3c828935c
parentfe31d4197b66cced9ca84779fac4fe69242d844b
Fix time duration value

- Make sure that duration is not < 0
- Handle nil ExpiresAt time in poll
mastodon/poll.go
renderer/renderer.go
templates/status.tmpl