cancel
Showing results for 
Search instead for 
Did you mean: 

Community Page Dates

spraxyt
Resting Legend
Posts: 10,063
Thanks: 671
Fixes: 75
Registered: ‎06-04-2007

Community Page Dates

Currently Monday 8th April 2013 00:38 BST
The Community site home, blogs, polls and library pages say the date is Sunday 7th April 2013. Sad
The forums page correctly says Monday 8th April 2013. Smiley
David
7 REPLIES 7
bobpullen
Community Gaffer
Community Gaffer
Posts: 16,932
Thanks: 5,024
Fixes: 317
Registered: ‎04-04-2007

Re: Community Page Dates

Odd. The time settings of both Wordpress installs are correct. I'll have somebody double check the servers themselves...

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

bobpullen
Community Gaffer
Community Gaffer
Posts: 16,932
Thanks: 5,024
Fixes: 317
Registered: ‎04-04-2007

Re: Community Page Dates

Plot thickens. The server time settings are fine too:
community01:~# exec date
Mon Apr 8 09:39:43 BST 2013
community02:~# exec date
Mon Apr 8 09:38:03 BST 2013
community03:~# exec date
Mon Apr 8 09:40:18 BST 2013
community04:~# exec date
Mon Apr 8 09:40:26 BST 2013

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

bobpullen
Community Gaffer
Community Gaffer
Posts: 16,932
Thanks: 5,024
Fixes: 317
Registered: ‎04-04-2007

Re: Community Page Dates

Checked the Wordpress theme and the date's being pulled from php:
<?php echo date('l jS F Y'); ?>

Running that on the servers themselves returns the correct date though so I'm at a bit of a loss to be honest Huh
Someone better versed than me will probably take a look at some point.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

spraxyt
Resting Legend
Posts: 10,063
Thanks: 671
Fixes: 75
Registered: ‎06-04-2007

Re: Community Page Dates

The date corrected itself after 1am so I assumed it was due to a summer time related setting. When I posted it was still the previous day GMT.
David
bobpullen
Community Gaffer
Community Gaffer
Posts: 16,932
Thanks: 5,024
Fixes: 317
Registered: ‎04-04-2007

Re: Community Page Dates

Sorry, I should have pointed out that we had php return the specific time and it wasn't an hour out Undecided

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

spraxyt
Resting Legend
Posts: 10,063
Thanks: 671
Fixes: 75
Registered: ‎06-04-2007

Re: Community Page Dates

Attached is a screen snip composite which shows the dates displayed on the Community pages around 12:10am this morning (10/04/2013). The WordPress-based pages show Tuesday 9th April 2013 and the Forums page (correctly) shows Wednesday 10th April 2013. Shortly after 1:00am all pages (correctly) displayed Wednesday 10th April 2013.
I think the problem could be that WordPress-based pages are set to display dates using GMT times whereas SMF displays them using BST time.
Edit: In WordPress General Settings is Timezone set to UTC+0 rather than London?
David
bobpullen
Community Gaffer
Community Gaffer
Posts: 16,932
Thanks: 5,024
Fixes: 317
Registered: ‎04-04-2007

Re: Community Page Dates

Quote from: spraxyt
Edit: In WordPress General Settings is Timezone set to UTC+0 rather than London?

No, as per the screengrab I attached up there ^^^

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵