From 21d4f7f9fce1f75ae7a22dc465ef155eafcd89d2 Mon Sep 17 00:00:00 2001 From: Oliver Bryan <04oliverbryan@gmail.com> Date: Wed, 29 Oct 2025 00:40:18 +0000 Subject: [PATCH] is now realtime, using AnimationFrames --- src/components/TimeSince.astro | 54 ++++++++++++++++++++++++---------- 1 file changed, 39 insertions(+), 15 deletions(-) diff --git a/src/components/TimeSince.astro b/src/components/TimeSince.astro index 7d36097b..0df329e1 100644 --- a/src/components/TimeSince.astro +++ b/src/components/TimeSince.astro @@ -6,17 +6,18 @@ const uniqueId = `time-since-${Math.random().toString(36).substring(2, 9)}`;