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