File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
2025/schedule/_components Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,13 @@ export function ScheduleList({
199
199
< div className = "mr-px flex flex-col max-lg:ml-px lg:flex-row" >
200
200
< div className = "relative border-neu-50 bg-neu-50 dark:bg-neu-0 max-lg:-mx-px max-lg:my-px max-lg:border-x lg:mr-px" >
201
201
< span className = "typography-body-sm mt-3 inline-block w-20 whitespace-nowrap pb-0.5 pl-4 lg:mr-6 lg:w-28 lg:pb-4 lg:pl-0" >
202
- { format ( parseISO ( sessionDate ) , "hh:mmaaaa 'PDT'" ) }
202
+ { parseISO ( sessionDate ) . toLocaleTimeString (
203
+ undefined ,
204
+ {
205
+ hour : "2-digit" ,
206
+ minute : "2-digit" ,
207
+ } ,
208
+ ) }
203
209
</ span >
204
210
</ div >
205
211
< div className = "relative flex w-full flex-col items-end gap-px lg:flex-row lg:items-start" >
Original file line number Diff line number Diff line change @@ -172,7 +172,13 @@ export function ScheduleList({
172
172
< div className = "mb-4 flex flex-col lg:flex-row" >
173
173
< div className = "relative" >
174
174
< span className = "mb-5 mt-3 inline-block w-20 whitespace-nowrap text-gray-500 lg:mr-7 lg:mt-0 lg:w-28" >
175
- { format ( parseISO ( sessionDate ) , "hh:mmaaaa 'PDT'" ) }
175
+ { parseISO ( sessionDate ) . toLocaleTimeString (
176
+ undefined ,
177
+ {
178
+ hour : "2-digit" ,
179
+ minute : "2-digit" ,
180
+ } ,
181
+ ) }
176
182
</ span >
177
183
< div className = "absolute right-3 top-0 hidden h-full w-0.5 bg-gray-200 lg:block" />
178
184
</ div >
You can’t perform that action at this time.
0 commit comments