Fix #6: Display relative timestamps

This commit is contained in:
2023-04-07 13:27:34 +02:00
parent 6267972605
commit a484810d2f
3 changed files with 58 additions and 4 deletions

View File

@ -30,7 +30,7 @@ let loadingOlderPosts = false;
// Needed, so that edgeFly() can do its thing:
// To determine whether a newly loaded post is older than the existing ones, is required to know what the oldest
// post was, before the fetch happened.
let oldestBeforeLastFetch: number | null = null;
let oldestBeforeLastFetch: number | null = null;
/**
* Animate either from the top, or the bottom of the window, depending if the post is