Auto Time Zone had the optional feature of setting a $_SESSION[‘timezone’] variable for guest users.

can i do something similar with your module?

Thanks !

Comments

jordanmagnuson’s picture

Could you tell me more about your use case? Why it would be beneficial to have $_SESSION[‘timezone’] set for guest users?

If it seems like a useful feature I will consider implementing it. Of course, the fastest way to get something like this implemented would be to submit a patch :)

jordanmagnuson’s picture

Status: Active » Postponed (maintainer needs more info)
jordanmagnuson’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)
tkngdwn’s picture

I can understand the need for something such as this. I like that the module allows me to forcibly set my user's timezones for displaying time/date heavy information correctly. It would be nice to extend that functionality to guests as well instead of just falling back to the default system timezone.

I might take a look at the code and build a patch for it if I get some free time to implement it. It might even be possible to hook the user object and provide a timezone in there even.

Funksmaname’s picture

Hi I'm wondering if this has been updated at all? is there a way to have the site automatically set the time zone to an anonymous guest?

In my case the site has a listing of events which should be accessible by anonymous guests - a location can be defined by a views filter, as well as a date for the event, which should be based on the users timezone without requiring a user account... can this option be added?

Many thanks,
Danny.

jordanmagnuson’s picture

Issue summary: View changes

Unfortunately, I don't personally have a need for anonymous user timezone handling, and don't have a lot of spare time at the moment to tackle this.

If someone else is interested in looking into this functionality and submitting a patch, I'd be happy to take a look.