nextcloud/core/js/visitortimezone.js

5 lines
146 B
JavaScript
Raw Normal View History

2013-01-22 00:10:44 +04:00
$(document).ready(function () {
var visitortimezone = (-new Date().getTimezoneOffset() / 60);
$('#timezone-offset').val(visitortimezone);
});