Jump to content

unexpected behaviour of $page->created


dreerr
 Share

Recommended Posts

In my timezone UTC+1 (also set in $config) the value of the $page->created field is always one hour early, so a newly created page is already one hour old. How can I correct this? Do I need to add the hour manually, this would be somehow inconvenient and unclean. I need to query last post and see how old they are in comparison to the actual time.

Thanks, so long, Julian.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...