diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/routes/election.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/election.svelte b/src/routes/election.svelte index 15134b1..8a88410 100644 --- a/src/routes/election.svelte +++ b/src/routes/election.svelte @@ -82,11 +82,11 @@ {millisecondsToTime(currentTime - data.last_updated * 1000, { smallestUnit: 1, parts: 1, - })} + })} ago </p> <p> <b>Next API update:</b> - {millisecondsToTime(currentTime - data.last_updated * 1000 + 10 * 60 * 1000, { + {millisecondsToTime(10 * 60 * 1000 - (currentTime - data.last_updated * 1000), { smallestUnit: 1, parts: 1, })} |