开发者

blackberry 6: getTimezoneOffset

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜