PDA

View Full Version : The time format will not parse


kjell
06-22-2004, 04:46 PM
Hi all!

In my news header I get - by XXXX On M d, Y - g:i A. Also in the welcome message it won't parse the last visited time.

If I change the code in welcomeblock.php from $lastvisitdate = vbdate($vba_options['portal_welcome_lastvisit_date'], $bbuserinfo['lastvisit']); to $lastvisitdate = date($vba_options['portal_welcome_lastvisit_date'], $bbuserinfo['lastvisit']); it will work so it seems like vbdate does not work correctly.

What could be the problem :confused:

Brian
06-24-2004, 11:37 AM
Never seen this one... Would you mind filling out a support ticket via the Members Area so I can see what the problem is?

Our Sponsors
 

kjell
06-28-2004, 06:09 AM
Hi
We had a long weekend over here but I'm back now and have completed the support ticket.
Thanks for looking at this.

Merjawy
06-28-2004, 07:07 PM
this looks like in vB lanugage settings.. you have chosen a locality and did not setup the rest of time/date overrides as you have to set them up if you change localily

Our Sponsors
 

kjell
07-02-2004, 06:30 PM
Sort of. I had a different locale but did setup all times and dates but it looked like it caused the vbdate function to use strftime instead of the date function.
However, we solved the problem so know it's back to normal :)

Merjawy
07-02-2004, 10:42 PM
Would you mind posing how you fixed it? just incase someone hits that spot again

kjell
07-04-2004, 07:37 AM
Changed $dateposted = vbdate($vba_options['portal_news_dateformat'], $news['postdateline']); to $dateposted = vbdate($vba_options['portal_news_dateformat'], $news['postdateline'], '', '');

cclaerhout
08-27-2004, 11:06 PM
Great thanks for this tips. It works with my french board :-)

mr2jswe
01-27-2005, 11:07 PM
Thanks from me aswell, my swedish board is now up and running, supporting my customers. had the exact same problem. :) /Johnny