开发者

blackberry 6: getTimezoneOffset

开发者 https://www.devze.com 2023-02-22 09:14 出处:网络
in my blackberry 6 widget I try to use following JavaScript-Code to calculate timezone of the client.

in my blackberry 6 widget I try to use following JavaScript-Code to calculate timezone of the client.

var tiz = -(new Date().getTimezoneOffset() / 60);

Here you can find online example.

Unfortunately BB6 calculates only 0.

May be someone has 开发者_StackOverflow中文版an idea what's the matter here or maybe suggests code that works better on BB6.

Thanks in advance!

Daniel


This is a known BB6 issue. And it seems that there is an update to fix this issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消