Skip to content

Commit

Permalink
utc
Browse files Browse the repository at this point in the history
  • Loading branch information
k2xl committed Dec 31, 2024
1 parent 4dafb0d commit 5bccaf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/home/streakCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export function StreakCalendar() {
<summary className='p-1'>Play Streak: <span className='font-bold p-1 bg-purple-700 rounded-full text-white'>{data?.currentStreak}</span> day{data?.currentStreak === 1 ? '' : 's'}!</summary>
{ /* put cal-heatmap within a horizontal scrollable div */}
<div id='cal-heatmap' ref={heatmapRef} className='overflow-x-scroll justify-center flex' />
<span className='text-xs'>Current UTC Time: {new Date().toLocaleString('en-US', { timeZone: 'UTC', dateStyle: 'medium', timeStyle: 'short' })}</span>
</details>
);
}

0 comments on commit 5bccaf1

Please sign in to comment.