File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/app/conf/2023/sessions/[id] Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import {
12
12
} from "../../../_components/speakers/social-media"
13
13
import { speakers , schedule } from "@/app/conf/2023/_data"
14
14
import { metadata as layoutMetadata } from "@/app/conf/2023/layout"
15
+ import { format , parseISO } from 'date-fns'
15
16
16
17
type SessionProps = { params : { id : string } }
17
18
@@ -110,6 +111,13 @@ export default function SessionPage({ params }: SessionProps) {
110
111
< h1 className = "mt-0 text-2xl lg:text-3xl font-medium mb-5" >
111
112
{ eventTitle }
112
113
</ h1 >
114
+ < span className = "text-[#333333]" >
115
+ { format (
116
+ parseISO ( event . event_start ) ,
117
+ "EEEE, MMMM d / hh:mmaaaa 'PDT'" ,
118
+ ) } { " " }
119
+ - { format ( parseISO ( event . event_end ) , "hh:mmaaaa 'PDT'" ) }
120
+ </ span >
113
121
</ div >
114
122
< div className = "flex lg:flex-row flex-col sm:gap-5" >
115
123
{ event . speakers ! . map ( speaker => (
You can’t perform that action at this time.
0 commit comments