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.
精彩评论