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

Commit

Permalink
fix: time format
Browse files Browse the repository at this point in the history
  • Loading branch information
jspark2000 committed Mar 21, 2024
1 parent 047cfc1 commit ab24fa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,12 @@ export default function SubmitSurveyForm({
{
<LocalTime
utc={schedules[index].startedAt}
format="MM/DD dd HH:mm"
format="MM/DD ddd HH:mm"
/>
}{' '}
~{' '}
{<LocalTime utc={schedules[index].endedAt} format="HH:mm" />}
<p>{schedules[index].description}</p>
</CardDescription>
<CardContent className="mt-2 flex flex-col space-y-3">
<FormField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function SurveyGroupListTable({
cell: ({ row }) => {
return (
<LocalTime
format="YYYY-MM-DD ddd hh:mm:ss"
format="YYYY-MM-DD ddd HH:mm"
utc={row.getValue('startedAt')}
/>
)
Expand All @@ -99,7 +99,7 @@ export default function SurveyGroupListTable({
cell: ({ row }) => {
return (
<LocalTime
format="YYYY-MM-DD ddd hh:mm:ss"
format="YYYY-MM-DD ddd HH:mm"
utc={row.getValue('endedAt')}
/>
)
Expand Down

0 comments on commit ab24fa0

Please sign in to comment.