From c94229a3f922dbda1bc09d53586af4d94e759cc9 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Thu, 4 Apr 2024 14:51:43 -0700 Subject: [PATCH] Add a timezone to the contrib meeting time. --- contrib/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/index.md b/contrib/index.md index e3a8a81..6aa8695 100644 --- a/contrib/index.md +++ b/contrib/index.md @@ -156,10 +156,12 @@ const prettyDate = ( year = 'numeric', month = 'long', day = 'numeric', + timeZoneName = 'short' } = {}) => { - return `${date.toLocaleDateString(undefined, {weekday, year, month, day})} @ ${date.toLocaleTimeString()}`; + return `${date.toLocaleDateString(undefined, {weekday, year, month, day})} @ ${date.toLocaleTimeString(undefined, {timeZoneName})}`; }; +