Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager: date is displayed incorrectly
#1
Hello
I use changed news manager plugin
in february date displayed correctly--->>[Image: 352dn.png]

as of today date is displayed incorrectly -->>[Image: 352qk.png]

Code:
/*******************************************************
    $date = nm_get_date(strtotime($data->date), i18n_r('news_manager/DATE_FORMAT'));
    $DateArray = str_replace(",","",$date);
    $DateArray = explode(" ", $DateArray);
  
            <div class="date"><?php echo $DateArray[0]; ?><br /><span class="day"><?php echo $DateArray[1]; ?></span><br /><?php echo $DateArray[2]; ?></div>

what is wrong??
know someone like me to change code,can anyone help me??
thanks.
Reply
#2
I moved the topic to this section as it is a plugin question

please post in the relevant forum sections and give your post an informative header
I edited your header to give users a chance to understand which plugin might be involved ;=)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
I changed "news_manager/DATE_FORMAT"

"DATE_FORMAT" => "%b %d %Y"

it's work.


in gsconfig.php
---------------------
setlocale(LC_ALL, 'tr_TR.UTF-8');
$LANG = 'tr_TR';
----------------------------

but months translation does not .
Reply




Users browsing this thread: 1 Guest(s)