On Sep 1, 2012, at 8:10 PM, Paul Hoadley wrote:

> Hi Johann,
> 
> On 29/08/2012, at 10:03 PM, Johann Werner wrote:
> 
>> you can detect the time offset to UTC via javascript on the client browser 
>> and use that in your app to adjust the session's timezone.
> 
> Thanks for that.  Looks like that's just what ERXTimeZoneDetector is doing.  
> 
>> Though this should be taken with care as this is considering only the time 
>> offset and not the real timezone that can have additional info as daylight 
>> time savings.
> 
> Good point.  The offset alone will certainly be sufficient for my needs for 
> now.
> 
> It looks like ERXTimeZoneDetector is trying to allow for that, though, isn't 
> it Ramsey?  

Yes. It checks for DST. If the zone observes DST, then it checks for hemisphere 
also.

> It should pick _a_ zone with the correct offset and whether or not it 
> observes DST, just not necessarily _the_ zone that the user is in.  That's 
> certainly good enough for me—I don't plan to display the chosen zone back to 
> the user.  As long as it's functionally the correct zone, that's perfect.
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/
> 
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to