ive got a timesheet MySQL/PHP app running on ubuntu 10.04 LTS
Since the clocks have gone back , times entered before sunday have been
shifted back an hour.
the date/time string (yyyy-mm-dd hh:mm:ss) in the DB is OK eg 800-1700 but
it is displaying since Sunday as 0700-1600. last week the display was
correct
this is the server
# date
Tue Nov 2 21:26:05 GMT 2010
when I look at MySQL variables (in phpmyadmin - Ive not found an easy way of
listing them from CLI)
it says
time zone =system
and
system time zone = BST
so mysql thinks the system time zone is BST when it isnt.
Ive restarted the database to see if it picks up the new time , but it
hasnt.
i haven't found where i can configure this , or found out why its not picking up the correct TZ from the server.
Since the clocks have gone back , times entered before sunday have been
shifted back an hour.
the date/time string (yyyy-mm-dd hh:mm:ss) in the DB is OK eg 800-1700 but
it is displaying since Sunday as 0700-1600. last week the display was
correct
this is the server
# date
Tue Nov 2 21:26:05 GMT 2010
when I look at MySQL variables (in phpmyadmin - Ive not found an easy way of
listing them from CLI)
it says
time zone =system
and
system time zone = BST
so mysql thinks the system time zone is BST when it isnt.
Ive restarted the database to see if it picks up the new time , but it
hasnt.
i haven't found where i can configure this , or found out why its not picking up the correct TZ from the server.