Skip to content

Commit 3b347a7

Browse files
committed
feat: update date format
1 parent 86f2955 commit 3b347a7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/(main)/contests/page.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,8 @@ function ContestTimeline({ contest }: { contest: Contest }) {
122122
</div>
123123

124124
<div className="flex justify-between mt-2 text-xs text-muted-foreground">
125-
<span>{format(new Date(startTime), 'MMM d, HH:mm')}</span>
126-
<span className={`font-medium ${statusColorClass}`}>
127-
{statusText}
128-
</span>
129-
<span>{format(new Date(endTime), 'MMM d, HH:mm')}</span>
125+
<span>{format(new Date(startTime), 'yyyy/MM/dd HH:mm')}</span>
126+
<span>{format(new Date(endTime), 'yyyy/MM/dd HH:mm')}</span>
130127
</div>
131128
</div>
132129
);

0 commit comments

Comments
 (0)