time issue
-
I’m not sure if your find this interesting or helpful but i run a finnish website thats host is in the UK and the servers are in germany < yes i know what a pain, BUT my point is that every time a feed came in which are from finnish blogs the time was always 3 hours off so if someone make a blog post at 11am my site would say that it was posted at 8am, which is right but not in my time zone, from my understanding it was getting the time UTC time when i wanted the GMT time so to correct this issue i changed on line 222:
. date_i18n( $metaArgs[ 'time_format' ], $item->get_date( 'U' ) ) .
to this
. get_date_from_gmt( $item->get_date( '' ), $metaArgs[ 'time_format' ] )
this has sorted the issue for me. Like i said im not sure if it helps you or not but thought i would share incase anyone else has this issue
- The topic ‘time issue’ is closed to new replies.