Hi Maxim,

Can you please provide more information how your code solves the problem ?
AFAIU Robert explains that Wicket's code properly detects the timezone
offset, but since there are many timezone ids for a given offset it is not
easy to detect the correct DST from the offset.
In your code I don't see anything that should provide the missing timezone
id.
Or I am missing something ?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov


On Wed, Sep 3, 2014 at 9:44 AM, Maxim Solodovnik <[email protected]>
wrote:

> Hello All,
>
> Some time ago we had user query [1] claiming wicket based TZ detection is
> not accurate.
> I believe the detection can be enhanced: DST rules can be detected using JS
> code and taken into account while TZ guessing
>
> here is the example of JS code determining month TZ switch is happening:
> [2] line 50
>
> Maybe it worth to implement something like this in Wicket?
>
> [1] http://markmail.org/message/v7vmfburg4zrtizk
> [2]
>
> https://svn.apache.org/viewvc/openmeetings/branches/3.0.x/src/main/webapp/js/openmeetings_functions.js?revision=1562780&view=markup
>
> --
> WBR
> Maxim aka solomax
>

Reply via email to