File tree Expand file tree Collapse file tree 4 files changed +28
-6
lines changed Expand file tree Collapse file tree 4 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ futureheadline: "Scheduled Podcasts"
66
77# Next upcoming session (update weekly)
88nextsessiontitle : " EPISODE #214: Quarkus and build reproducibility: are we there yet?"
9- nextsessiondate : " August 4, 2025"
9+ nextsessiondate : " 2025-08-04T13:00Z "
1010nextsessionguest : " Guillaume Smet"
1111
1212
Original file line number Diff line number Diff line change 33 < div class ="width-12-12 ">
44 < h3 class ="mt-0 "> {{ site.data.insights-videos.sectiontitle }}</ h3 >
55 </ div >
6- < div class ="width-7 -12 width-12-12-m ">
6+ < div class ="width-6 -12 width-12-12-m ">
77 < div class ="iframe-container ">
88 < iframe src ="https://player.restream.io/?token=f07d2d026ed3464da2396dd5f2ffbd86 " allow ="autoplay " allowfullscreen frameborder ="0 " style ="position:absolute;top:0;left:0;width:100%;height:100%; "> </ iframe >
99 </ div >
1010 </ div >
11- < div class ="width-5 -12 width-12-12-m ">
11+ < div class ="width-6 -12 width-12-12-m ">
1212 < div class ="streamingiconblock ">
1313 < h4 > Join us for our next upcoming session</ h4 >
1414 < h5 > {{ site.data.insights-videos.nextsessiontitle }}</ h5 >
15- < p > Special Guest: {{ site.data.insights-videos.nextsessionguest }}< br >
16- Date: {{ site.data.insights-videos.nextsessiondate }} at GMT+02:00 CET (9:00 am EST) </ p >
15+ < p > Special Guest: {{ site.data.insights-videos.nextsessionguest }}</ p >
16+ < p id =" convertedTime " data-utc =" {{ site.data.insights-videos.nextsessiondate }} " > </ p >
1717
18- < p > Have and idea for a topic or guest? Add your < a href ="https://github.com/quarkusio/quarkus-insights "> suggestion to our github issues</ a > with the label of "Insights"! </ p >
18+ < p > Have a topic idea or want to propose a guest? Add your < a href ="https://github.com/quarkusio/quarkus-insights "> suggestion to our github issues</ a > with the label of "Insights". </ p >
1919
2020 < h5 > {{ site.data.insights-videos.socialdescription }}</ h5 >
2121 < ul >
Original file line number Diff line number Diff line change 105105 < script src ="{{ '/assets/javascript/asciidoc-tabs.js' | relative_url }} " type ="text/javascript "> </ script >
106106 < script src ="{{ '/assets/javascript/future-date.js' | relative_url }} " type ="text/javascript "> </ script >
107107 < script src ="{{ '/assets/javascript/randomize.js' | relative_url }} " type ="text/javascript "> </ script >
108+ < script src ="{{ '/assets/javascript/time.js' | relative_url }} " type ="text/javascript "> </ script >
108109</ body >
109110
110111</ html >
Original file line number Diff line number Diff line change 1+ // Option 1: Get from a data attribute
2+ const utcDateString = document . getElementById ( 'convertedTime' ) . dataset . utc ;
3+
4+ // Convert to user's local date and time
5+ const localDate = new Date ( utcDateString ) ;
6+
7+ // Format the output
8+ const options = {
9+ weekday : 'long' ,
10+ year : 'numeric' ,
11+ month : 'long' ,
12+ day : 'numeric' ,
13+ hour : '2-digit' ,
14+ minute : '2-digit' ,
15+ timeZoneName : 'short'
16+ } ;
17+
18+ const localDateTimeString = localDate . toLocaleString ( undefined , options ) ;
19+
20+ // Set the readable local date as content
21+ document . getElementById ( "convertedTime" ) . textContent = `Date & Time: ${ localDateTimeString } ` ;
You can’t perform that action at this time.
0 commit comments