Post subject: the date in the author field
P.JBoy
Any
Editor
Joined: 3/25/2006
Posts: 850
Location: stuck in Pandora's box HELLPP!!!
It makes some forums spaced; like this
Post subject: Re: the date in the author field
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
P.JBoy wrote:
It makes some forums spaced; like this
Oh, "am" / "pm". phpBB has a single field for date and time format in the user profile. I used a regexp to convert the formatted datetime into a date-only field, because date+time would have been too wide. It goes like this: $first_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['topic_time'], $board_config['board_timezone']); $first_post_time = trim(ereg_replace('[0-9]+:[0-9][0-9:]+', '', $first_post_time)); Anyone have ideas how to change this so that it fixes not only P.JBoy's problem, but also the same potential problem for any other datetime format user may have entered in their profile? For the record, mine is Y-m-d H:i:s, which looks like "2007-07-10 15:30:24".
P.JBoy
Any
Editor
Joined: 3/25/2006
Posts: 850
Location: stuck in Pandora's box HELLPP!!!
Never realised the am/pm, seems like a temporary fix for me to just to turn it off for now
Former player
Joined: 3/13/2004
Posts: 1118
Location: Kansai, JAPAN
I'm seeing this too for the first time today. What changed?
Do Not Talk About Feitclub http://www.feitclub.com