PDA

View Full Version : Date/Time format at vBulletin.org


davidw
03 May 2006, 18:54
I am somewhat stumped on this as my search results came up with no clues.
I have further checked out the Options in my UserCP and have edited the timeformat and dateformat accordingly. However, I've noticed something weird with the display of time (date shows correctly as I have set up).

As per the link given in dateformat section of Edit Options, http://us2.php.net/date, I have chosen these variables:

g:I A

According to the website, and referencing my website (I used h:i A and shows correctly on my site), it should display

1:10 PM (for example).
Instead, it shows 1:1 PM. All time displayed on this website lack the second digit in the minutes. Is this an error on my part of of the vbulletin.org?
Thanks in advance!

Brad
03 May 2006, 21:34
The string you are searching for is: "g:i A".

davidw
03 May 2006, 21:50
Thanks - that's what having an infant keeping you up for the last 7 months will do to you. I have no clue why I missed that.

bairy
04 May 2006, 23:44
Some things in php are case sensitive like that.

Things like date() are packed with parameters that range the alphabet, it can be easy to be caught out.

Brad
04 May 2006, 23:51
Thanks - that's what having an infant keeping you up for the last 7 months will do to you. I have no clue why I missed that.
They are good for that. ;) It'll get better, just wait until they turn 16 and start asking for a car. :p

davidw
05 May 2006, 00:52
Not that far along yet - my oldest just turned 3.

Chris M
05 May 2006, 09:26
Ah just past the terrible twos :D

Chris

davidw
05 May 2006, 13:27
Ah just past the terrible twos :D

ChrisShe started her terrible twos at 18 months, but I've not seen an end in sight. :confused:

darnoldy
05 May 2006, 14:04
She started her terrible twos at 18 months, but I've not seen an end in sight. :confused:You've entered the second phase of parenthood!

phase 1: 18 months of trying to get them to walk & talk

Phase 2: 18 years of trying to get them to sit down and be quiet!

--don;)

Paul M
05 May 2006, 17:23
Make the most of it guys, mine are 14,12 & 9 > and they just get worse .........

davidw
06 May 2006, 00:23
Make the most of it guys, mine are 14,12 & 9 > and they just get worse .........That's what I hear. It woulnd't be so bad if I didn't have severe obstructive sleep apnea to boot! :P My eyes were so bloodshot this morning my wife thought I had pinkeye. She had good reason too, as both children just got over it a few days ago.