By someguy on
Hi,
As my server is located in a different part of the world to the people actually usuing the site I'd like to know how I can change the timezone for anonymous users.
Thanks v. much.
Hi,
As my server is located in a different part of the world to the people actually usuing the site I'd like to know how I can change the timezone for anonymous users.
Thanks v. much.
Comments
anyone? :)
anyone? :)
I think there is no standard
I think there is no standard way to do this.
--
Drupal services
My Drupal services
It should be possible
What error are you getting?
Default timezone setting
We don't have a setting that lets you set the default timezone yet; currently the default timezone is inherited from the server's date. Despite the fact a default timezone setting has been requested, no one is working on this (that I know of).
Fixed?
Has this been fixed yet? I have been racking my brain for days trying to figure out why anonymous user event times are three hours off; the host is in OH. This could be a real bummer for my site's members; showing up at the wrong time to an event. Please reply soon, thanks.
Jason
Is there at least a temporary default timezone fix?
Even if it's a nasty kludge ... that would be better than nothing.
Set timezone for uid = 0
An easy way to handle this is to set the timezone field in table users for uid = 0, which is anonymous. Look at the other values of timezone for examples.
update users set timezone=-28800 where uid = 0;
or whatever you want your default timezone to be.
I also set the timezone to default to -28800 for new users, which is really the offset for Pacific Standard Time, rather than Pacific Daylight Time.
alter tables users alter timezone set default -28800;
I have also modified the event slightly to handle time zone changes better. This patch is available here.
Note that timezone does not change for summer. This is a serious bug.
Note that the anonymous user does not show up in ?q=admin/user.
send sms
hi i would like to send sms but it doesn't work
Um... OT!!
What's this got to do with timezones??
Sean Robertson
www.webolutionary.com/freedom
webolutionary@webolutionary.com
Sean Robertson | @seanr1978 on twitter
seanr@webolutionary.com
From what I can tell, this is
From what I can tell, this is still an issue in the latest version of Drupal.
e.g. Anonymous users date is aligned with server, not the site timezone (or user) setting/date.
This is particularly annoying if your server is in another timezone, even if your server show the correct local date from the shell.
Not sure if there is a workaround.
If not, it might be good to raise a new issue for this?Ok I have raised an issue for this here:
https://www.drupal.org/project/drupal/issues/3468167