Index: lams_central/web/main.jsp =================================================================== diff -u -r7e0024fe200c2db9360cbcc7e572e00888e05ad4 -r5fffd4fcc0fb51f95fac66fac14253c9557c52b5 --- lams_central/web/main.jsp (.../main.jsp) (revision 7e0024fe200c2db9360cbcc7e572e00888e05ad4) +++ lams_central/web/main.jsp (.../main.jsp) (revision 5fffd4fcc0fb51f95fac66fac14253c9557c52b5) @@ -97,6 +97,16 @@ $.get("${disableAllTutorialVideosUrl}"); } + + debugger; + var current_date = new Date( ); + var client_gmt_offset_minutes = current_date.getTimezoneOffset( ); + $('#offset').html( client_gmt_offset_minutes / 60 ); + var lams_gmt_offset_minutes = ( + ) / 60000; + if ( client_gmt_offset_minutes != -lams_gmt_offset_minutes ) { + $('#timezoneWarning').html( "
Warning: The timezone in LAMS does not match timezone on your computer. The times shown in LAMS will be for the LAMS timezone set in your profile. " + +": os "+client_gmt_offset_minutes+" minutes : lams "+lams_gmt_offset_minutes+" minutes" ); + } }); @@ -274,6 +284,7 @@ © +