Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Add a timezone to the contrib meeting time. #274

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion contrib/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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})}`;
};


</script>

<style>
Expand Down
Loading