| 1 |
// $Id: README.txt,v 1.5 2007/08/23 22:15:50 lukelast Exp $
|
| 2 |
|
| 3 |
This module automatically updates the time zone setting on user accounts. This
|
| 4 |
is accomplished by using JavaScript on the client machine to send the data back
|
| 5 |
to the server. The benefit is that users don't have to manually update their
|
| 6 |
time zones in their profiles.
|
| 7 |
|
| 8 |
|
| 9 |
Installation
|
| 10 |
------------
|
| 11 |
|
| 12 |
1. Copy the autotimezone directory to your modules directory.
|
| 13 |
|
| 14 |
2. Login as site administrator.
|
| 15 |
|
| 16 |
3. Enable Auto Time Zone at Administer >> Site building >> Modules.
|
| 17 |
|
| 18 |
|
| 19 |
Usage
|
| 20 |
-----
|
| 21 |
|
| 22 |
The setting Site configuration >> Date and time >> Configurable time zones must
|
| 23 |
be enabled for this module to work.
|
| 24 |
|
| 25 |
This module has the optional feature of setting a $_SESSION['timezone'] variable
|
| 26 |
for guest users. This feature can be used in custom code or other modules when a
|
| 27 |
guest user’s time zone is needed. The value of $_SESSION['timezone'] is in
|
| 28 |
minutes from GMT.
|