Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Last post time
Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2012 - 5:00 pm

I'm pretty sure when looking at the forums list we could see in 'minutes' and even in 'seconds' when the last post was made.  Now as soon as someone post a message, it says "1 hour".  What could have changed this?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2012 - 8:52 pm

perhaps the reference time?

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2012 - 8:55 pm

What do you mean?  I haven't changed a setting about time in WP neither S:P

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2012 - 9:23 pm

server time or profile time...  daylight savings time?

but yes, you can get minutes and seconds on last post... definitely working here...

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2012 - 9:35 pm

Have no idea what's going on and what to look for.  I make a new post and it shows 1 hour.  Can't be S:P I haven't played with the core and settings looks fine.

How do you compute the time to display?  Maybe I could try to write a similar simple php scritp and see how it behave and wat it returns?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 9, 2012 - 4:34 am

Have you checked that your two timezones settings are correct? The 'server' time on the WP Settings > General page and then your own personal timezone on your SP Profile?

andy-signature.png
YELLOW
SWORDFISH
Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Mar 9, 2012 - 9:43 am

Yes both are the same and it was working a few days ago when the site went public.

I wrote to my host if they could have mofidied something and all they say is that they have applied an update to CentOS.  Never heard of this OS.  They list all the modules that have been updated and there is about 100!  They say they will do a restart of the server soon so I'll see if it change anything.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 9, 2012 - 11:49 am

CentOS is one of the standard Linux installs. I doubt it will be the server but you never know. Will wait on this one.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Aaron Wentzel
Member
Free Members
sp_UserOfflineSmall Offline
Mar 25, 2012 - 11:02 am

It doesn't matter what combination of dates are used or if they are all set the same way (wp, sp, server) the two functions return different values.

sp_nicedate() returns correct only if you use UTC on WP, but, then sp_date() will return incorrectly.  One UtC offset works but then the other is double offset.

My fix was to only use nicedate() and use UTC on wp.

But, i think we'd all prefer a real fix so we can use both and expect the same outcome one nice and one datestamp, but, with the correct time.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 25, 2012 - 11:16 am

odd. because we havent seen that.  we dont use UTC with wp here and nicedate returns fine for us... 

but will have to let Andy weigh in as he has been sorting through any time issues...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625