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

Commit

Permalink
Add a timezone to the contrib meeting time. (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec authored Apr 4, 2024
1 parent 2afb689 commit 4e2aa4c
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 4e2aa4c

Please sign in to comment.