PDA

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


davidw
05-03-2006, 05:54 PM
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
05-03-2006, 08:34 PM
The string you are searching for is: "g:i A".

davidw
05-03-2006, 08:50 PM
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
05-04-2006, 10:44 PM
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
05-04-2006, 10:51 PM
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-04-2006, 11:52 PM
Not that far along yet - my oldest just turned 3.

Chris M
05-05-2006, 08:26 AM
Ah just past the terrible twos :D

Chris

davidw
05-05-2006, 12:27 PM
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-05-2006, 01:04 PM
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-05-2006, 04:23 PM
Make the most of it guys, mine are 14,12 & 9 > and they just get worse .........

davidw
05-05-2006, 11:23 PM
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.