Re: Auto-detection of local time zone
Re: Auto-detection of local time zone
- Subject: Re: Auto-detection of local time zone
- From: Paul Hoadley <email@hidden>
- Date: Sun, 02 Sep 2012 12:40:16 +0930
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? 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.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden