@@ -6165,6 +6165,77 @@ $(function() {
61656165
61666166
61676167
6168+ // Responsibly Enabling Data for Foundation Models 2026
6169+
6170+ var rawDeadlines = [ "2026-06-23 23:59" ] || [ ] ;
6171+ if ( rawDeadlines . constructor !== Array ) {
6172+ rawDeadlines = [ rawDeadlines ] ;
6173+ }
6174+ var parsedDeadlines = [ ] ;
6175+ while ( rawDeadlines . length > 0 ) {
6176+ var rawDeadline = rawDeadlines . pop ( ) ;
6177+ // deal with year template in deadline
6178+ year = 2026 ;
6179+ rawDeadline = rawDeadline . replace ( '%y' , year ) . replace ( '%Y' , year - 1 ) ;
6180+ // adjust date according to deadline timezone
6181+
6182+ var deadline = moment . tz ( rawDeadline , "Etc/GMT+12" ) ; // Anywhere on Earth
6183+
6184+
6185+ // post-process date
6186+ if ( deadline . minutes ( ) === 0 ) {
6187+ deadline . subtract ( 1 , 'seconds' ) ;
6188+ }
6189+ if ( deadline . minutes ( ) === 59 ) {
6190+ deadline . seconds ( 59 ) ;
6191+ }
6192+ parsedDeadlines . push ( deadline ) ;
6193+ }
6194+ // due to pop before; we need to reverse such that the i index later matches
6195+ // the right parsed deadline
6196+ parsedDeadlines . reverse ( ) ;
6197+
6198+
6199+
6200+ //
6201+
6202+
6203+ var deadlineId = 0 ;
6204+ if ( deadlineId < parsedDeadlines . length ) {
6205+ var confDeadline = parsedDeadlines [ deadlineId ] ;
6206+
6207+ // render countdown timer
6208+ if ( confDeadline ) {
6209+ function make_update_countdown_fn ( confDeadline ) {
6210+ return function ( event ) {
6211+ diff = moment ( ) - confDeadline ;
6212+ if ( diff <= 0 ) {
6213+ $ ( this ) . html ( event . strftime ( '%D days %Hh %Mm %Ss' ) ) ;
6214+ var daysLeft = - diff / 86400000 ;
6215+ var urgency = daysLeft < 7 ? 'urgent' : daysLeft < 30 ? 'warning' : 'ok' ;
6216+ $ ( this ) . removeClass ( 'urgent warning ok' ) . addClass ( urgency ) ;
6217+ $ ( this ) . closest ( '.conf' )
6218+ . removeClass ( 'urgency-urgent urgency-warning urgency-ok' )
6219+ . addClass ( 'urgency-' + urgency ) ;
6220+ } else {
6221+ $ ( this ) . html ( confDeadline . fromNow ( ) ) ;
6222+ }
6223+ }
6224+ }
6225+ $ ( '#responsibly-enabling-data-for-foundation-models2026-pract-applied-ppml-wk-0 .timer' ) . countdown ( confDeadline . toDate ( ) , make_update_countdown_fn ( confDeadline ) ) ;
6226+ // check if date has passed, add 'past' class to it
6227+ if ( moment ( ) - confDeadline > 0 ) {
6228+ $ ( '#responsibly-enabling-data-for-foundation-models2026-pract-applied-ppml-wk-0' ) . addClass ( 'past' ) ;
6229+ }
6230+ $ ( '#responsibly-enabling-data-for-foundation-models2026-pract-applied-ppml-wk-0 .deadline-time' ) . html ( confDeadline . local ( ) . format ( 'D MMM YYYY, h:mm:ss a' ) ) ;
6231+ deadlineByConf [ "responsibly-enabling-data-for-foundation-models2026-pract-applied-ppml-wk-0" ] = confDeadline ;
6232+ }
6233+ } else {
6234+ // TODO: hide the conf_id ?
6235+ }
6236+
6237+
6238+
61686239 // RWC 2027
61696240
61706241 var rawDeadlines = [ "2026-10-15 23:59" ] || [ ] ;
0 commit comments