Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Languages & Translations »

[SOLVED] Messed-up Date

Old Jan 29, 2010, 02:33 PM
9 posts · Jan 2010
After installing the translation for spanish for wordpress and atahualpa I crossed with this messed-up date. I even updated the whole Wordpress 2.91 to the Spanish Version (clicked the Update Now button)

The Comment section is correct, although it lacks the comma, but the Post section is still in english format: 22nd

I'm lost. I even selected another format m/d/Y, but nothing changed. Any help would be appreciated.

Last edited by jdtfk; Feb 2, 2010 at 07:47 AM.
Old Feb 1, 2010, 09:15 AM
9 posts · Jan 2010
Ok, poking around I stumbled into bfa_postinfo.php

	// Date & Time
	if ( strpos($postinfo_string,'%date(') !== FALSE ) {
		$date_param = preg_match("/(.*)\%date\('(.*?)'\)(.*)/i",$postinfo_string,$date_matches);
			$date = ob_get_contents(); 
		$postinfo = preg_replace("/(.*)%date\((.*?)\)%(.*)/i", "\${1}" .
        $date. "\${3}", $postinfo);
I assume here's where the trouble is. I'm just wondering how to edit this, or how to work this out.
Old Feb 2, 2010, 07:46 AM
9 posts · Jan 2010
Found the solution.

I didn't check the ATO -> Edit Post/Page info items.
The date was set to ('F jS, Y') So it didn't matter what I had in the General Options.

S is English ordinal suffix for the day of the month, 2 characters: st, nd, rd or th.

More info here: http://php.net/manual/en/function.date.php


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date is all messed up in comment section using Dutch locale! Taquoriaan Languages & Translations 6 Feb 3, 2010 06:26 AM
[SOLVED] Newbie messed up jerice50 Forum How-To 7 Sep 1, 2009 08:31 AM
My index file is messed up... please help! plzhelp Installing & running WordPress 4 Aug 4, 2009 04:14 AM
user roles messed up thegooser123 Installing & running WordPress 3 Jul 21, 2009 04:03 PM
Sidebars messed up in IE6 lian Other BFA WordPress Themes 2 May 15, 2009 11:41 AM

All times are GMT -6. The time now is 04:08 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.