timezone detection is based on browser location/ip and not cloudron region intentionally

This commit is contained in:
Girish Ramakrishnan
2015-09-18 13:40:22 -07:00
parent 9ba11d2e14
commit 4f9f10e130

View File

@@ -158,7 +158,7 @@ function activate(username, password, email, name, ip, callback) {
debug('activating user:%s email:%s', username, email);
setTimeZone(ip, function () { }); // TODO: get this from user
setTimeZone(ip, function () { }); // TODO: get this from user. note that timezone is detected based on the browser location and not the cloudron region
if (!name) name = settings.getDefaultSync(settings.CLOUDRON_NAME_KEY);