Skip to content

Commit

Permalink
fix: Change hour logic to be numeric
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmick committed Feb 3, 2023
1 parent 7576aec commit 9a7ae92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/clock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const Clock = ({ time: initial }: Props) => {
return (
<div className="text-7xl tabular-nums">
{time.toLocaleTimeString(undefined, {
hour: '2-digit',
hour: 'numeric',
minute: '2-digit'
})}
</div>
Expand Down

0 comments on commit 9a7ae92

Please sign in to comment.