简体   繁体   中英

Dateformat in tt_news

I use tt_news version 3.4.0 and I'd like to change the Dateformat of the News in for example: September 2013

Can anybody help me ?

Try...

plugin.tt_news {
  displayList.date_stdWrap.date = j F Y
  displayLatest.date_stdWrap.date = j F Y
  displaySingle.date_stdWrap.date = j F Y
}

...or...

plugin.tt_news {
  displayList.date_stdWrap.strftime = %e %B %Y
  displayLatest.date_stdWrap.strftime = %e %B %Y
  displaySingle.date_stdWrap.strftime = %e %B %Y
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM