mi reloj funciona (osea se muve) cuando no le toco nada:
var time = new Date();
var hour = time.getHours();
var minute = time.getMinutes();
var second = time.getSeconds();
var millisecond = time.getMilliseconds();
setProperty ("hour", _rotation, hour*30);
setProperty ("min", _rotation, minute*6);
setProperty ("sec", _rotation, second*6);
setProperty ("milli", _rotation, millisecond / 100 *36);
var display = hour add ":" add minute add ":" add second add ":" add millisecond;
cuandole aumento -4 se retrocede la hora 4 horas (sigue moviendose):
var time = new Date();
var hour = time.getHours()-4;
var minute = time.getMinutes();
var second = time.getSeconds();
var millisecond = time.getMilliseconds();
setProperty ("hour", _rotation, hour*30);
setProperty ("min", _rotation, minute*6);
setProperty ("sec", _rotation, second*6);
setProperty ("milli", _rotation, millisecond / 100 *36);
var display = hour add ":" add minute add ":" add second add ":" add millisecond;
apenas agrego:
var time = new Date().getTimezoneOffset();
var hour = time.getUTCHours()-4;
var minute = time.getUTCMinutes();
var second = time.getUTCSeconds();
var millisecond = time.getUTCMilliseconds();
setProperty ("hour", _rotation, hour*30);
setProperty ("min", _rotation, minute*6);
setProperty ("sec", _rotation, second*6);
setProperty ("milli", _rotation, millisecond/100*36);
var display = hour add ":" add minute add ":" add second add ":" add millisecond;
DEJA DE FUNCIONAR!
pero