Log in

View Full Version : 3.8.7 shows wrong time (hours OK, minutes fail) regardless of settings


sweden_i500
02-19-2012, 07:04 AM
Right now, vBulletin shows time "08:02" in the index page end, all posts also shows "08:02" as time, during the whole hour "08" (using 24hrs clock mode).
As soon as the hour switches to "09" the forum says "09:02" in the index.
The minutes won't change

---------

I wrote a quick test in PHP:

print date("H:i");
print time();

Gives me... 08:57 and 1329638264.

So it works, both the unix time stamp and the date function.

In vBulletin, the time settings is "H:i", same as above. But it does not show the correct minutes.

Checked the tables in MySQL for threads, the correct time() is set on each thread.
But does not show the correct minutes time in the forum listing either.

Using PHP 5.3.3

Any ideas?

kh99
02-19-2012, 11:23 AM
The only thing I can think of is that '02' could be the month, but the format character for that is 'm' so you probably did not mistake 'i' for 'm'.

sweden_i500
02-19-2012, 11:45 AM
Found the error.

There was an faulty override setting in the Language settings for time format. Works now =)

The problem began when the web server was updated to a new version of php 5

itilm
03-03-2012, 08:29 AM
i think 1st now you have to contact yours hosting provider

c00kie_dude
04-25-2012, 04:54 PM
Found the error.

There was an faulty override setting in the Language settings for time format. Works now =)

The problem began when the web server was updated to a new version of php 5

can you be a little bit more specific? i also have the same problem, and want to fix it...