4 lines
145 B
JavaScript
4 lines
145 B
JavaScript
|
$(document).ready(function () {
|
||
|
var visitortimezone = (-new Date().getTimezoneOffset() / 60);
|
||
|
$('#timezone-offset').val(visitortimezone);
|
||
|
});
|