Indefero

Issue 253: "Last login" time for users is off

Reported by Andrew Nguyen, Jul 10, 2009

My server is set to Pacific Daylight Time (UTC -7) but the last 
login times for uses on my system show up as (PDT +9).

For example, I just logged out/in on "2009-07-10 09:40 
(PDT)".  The last login that is displayed is "2009-07-10 
18:40"

So, it doesn't appear to be showing local or UTC time.

Comment 1 by Loïc d'Anterroches, Jul 11, 2009

You are right, the displayed time is the time of the center of the 
world, which, I am sure you know it, is my house in a small city in 
the former East Germany ;-)

A solution is find the time zone you want here:
http://www.php.net/manual/en/timezones.america.php
for example "America/Los_Angeles" and put that in your 
config file:

$cfg['time_zone'] = 'America/Los_Angeles';

The default time zone is Europe/Berlin.

I updated the documentation in commit ac7be1b. Thanks!
Labels: Component:Docs
Status: Fixed

Created: 3 years 10 months ago by Andrew Nguyen

Updated: 3 years 10 months ago

Status: Fixed

Followed by: 1 person

Labels:
Type:Defect
Priority:Medium
Component:Docs