summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-09-28 14:21:41 +0000
committerthomascube <thomas@roundcube.net>2011-09-28 14:21:41 +0000
commit801b69d3ab184df5c4e610d19202fc49385d2bd2 (patch)
tree7fdb327ab86f783ca065662a4706db6348ad4831 /program/js
parent4037d38873327a2ae15cf653fd643d8efe83929a (diff)
Fix timezone settings
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 1a8d96793..d2760b439 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -383,7 +383,7 @@ function rcube_webmail()
var tz = new Date().getTimezoneOffset() / -60;
var stdtz = new Date().getStdTimezoneOffset() / -60;
$('#rcmlogintz').val(stdtz);
- $('#rcmlogindst').val(tz > stdtz ? 0 : 0);
+ $('#rcmlogindst').val(tz > stdtz ? 1 : 0);
// display 'loading' message on form submit, lock submit button
$('form').submit(function () {