Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

News date - wrong launguage coding

Asked Modified Viewed 3,532 times
K
kopko
K
kopko 10
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
asked
Junior Member

Hello members,
I need some help with my site. I have a problem with Language coding on my site. I have set Slovak -UTF8 coding, but now i have this error letters in stead of the original one. There is an image of that. Is there a way to change it from 22/jul/2013 to 22/7/2013 format? Thank you very much for help.


s11.postimg.org/m90p81vtf/phpfusionhelp.png
0 replies

6 posts

-
- Tony -
-
www.lemviginfo.dk/platuglerne_ikon2.gif
www.lemviginfo.dk/../../images/lemvig_info.gif

Mainsite still running version 6 pfft
  • Junior Member, joined since
  • Contributed 38 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

admin >>> settings >>> time and date







0 replies
K
kopko
K
kopko 10
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

I have everything in %d/%m/%Y number format. Server,mine and hosts date is set to 22/07/2013 format. I have wrong date only in news.
0 replies
-
- Tony -
-
www.lemviginfo.dk/platuglerne_ikon2.gif
www.lemviginfo.dk/../../images/lemvig_info.gif

Mainsite still running version 6 pfft
  • Junior Member, joined since
  • Contributed 38 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

It might be this in the theme.php


   echo "<li class='date'>".showdate("%d %b %Y", $info['news_date'])."</li>\n";


same for articles



0 replies
K
kopko
K
kopko 10
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

I foung this in there
echo "<li class='date'>".showdate("%d %b %Y", $info['news_date'])."</li>\n";


What to do with it next.
0 replies
-
- Tony -
-
www.lemviginfo.dk/platuglerne_ikon2.gif
www.lemviginfo.dk/../../images/lemvig_info.gif

Mainsite still running version 6 pfft
  • Junior Member, joined since
  • Contributed 38 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

Try this to fetch it from settings

   echo "<li class='date'>".showdate("".$settings['newsdate']."", $info['news_date'])."</li>\n";




0 replies
K
kopko
K
kopko 10
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Got it now, rewritted

echo "<li class='date'>".showdate("%d %b %Y", $info['news_date'])."</li>\n";
to
echo "<li class='date'>".showdate("%d %m %Y", $info['news_date'])."</li>\n";
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

-
-
www.lemviginfo.dk/platuglerne_ikon2.gif
www.lemviginfo.dk/../../images/lemvig_info.gif

Mainsite still running version 6 pfft
  • Junior Member, joined since
  • Contributed 38 posts on the community forums.
  • Started 1 thread in the forums
K
K
kopko 10
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet