profile picture image cache

coding from a plane so this is helping alot with PFPs
This commit is contained in:
William Casarin
2024-02-16 15:42:21 -08:00
parent 1c16ddf9af
commit 87f385b683
8 changed files with 174 additions and 51 deletions

View File

@@ -1,4 +1,4 @@
use std::time::{Duration, SystemTime, UNIX_EPOCH};
use std::time::{SystemTime, UNIX_EPOCH};
/// Show a relative time string based on some timestamp
pub fn time_ago_since(timestamp: u64) -> String {