Keyword

How to change date format in blog posts

  • Todd Hollander
  • Todd Hollander's Avatar Topic Author
  • Offline
  • New Member
More
11 years 3 weeks ago #118222 by Todd Hollander
How to change date format in blog posts was created by Todd Hollander
I am using v. 2.5.6. The dates for entries to my [url=http://http://squarecare.org/news]blog page[/url] are formatted as follows:

Published on Wednesday, 11 September 2013

I want to:
  1. Remove "Published on" and the day of the week (Wednesday)
  2. Change the date format to September 11, 2013
and
I don't know where to change this setting.

Thanks

Please Log in or Create an account to join the conversation.

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 2 weeks ago #118223 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: How to change date format in blog posts
Hy,

make a language-override, search key K2_DATE_FORMAT_LC / K2_DATE_FORMAT_LC2. settings on dateformat: php.net/manual/de/function.date.php

"Published on" search also override, but not key (i don't know), search content. Replace it with nothing.

Regards

Please Log in or Create an account to join the conversation.

  • Todd Hollander
  • Todd Hollander's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 weeks ago #118224 by Todd Hollander
Replied by Todd Hollander on topic Re: How to change date format in blog posts
Thanks for the reply. I tried to follow your instructions but must be doing something wrong because nothing changed.

Attachment not found



Can you see what I am doing wrong?

Please Log in or Create an account to join the conversation.

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 2 weeks ago #118225 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: How to change date format in blog posts
Hi,

depends which format k2 use in which field (LC or LC2 or another one). Are you using right language and site/admin? What have you changed (dateformat in php.net/manual)?

i remember also a post here about dateformats by your own.

Regards

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum