21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 164 Views |
-
function "xx hours ago" is way wrong...

5 December 2011 at 8:38am
Hi there,
I have a UK based (GMT) server, which I'm using for a NZ site. I've adjusted the time of the server using .htaccess.
(php_value date.timezone Pacific/Auckland)Looking at records in the database, all the times saved are correct in NZ time, but when I use the 'ago' function in the CMS, it says things were created 16 hours ago, when they were in fact created a few minutes ago.
I don't understand where the 16 hour difference is coming from, or how to correct it
cheers
| 164 Views | ||
|
Page:
1
|
Go to Top |

