Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Formatting date in Joomla 2.5 blog

Formatting date in Joomla 2.5 blog 11 months 6 days ago #49493

Greetings!
In many of my Joomla sites (1.5 to 2.5) I display the create date in the blog post articles. Then often display the time, like:

Created on Tuesday, 19 June 2012 10:08

My clients don't need the time displayed. I use JCE. How can I get rid of the time?

thanks,
Hope
Hope Kiah, Santa Fe Web Design
Please become a member of OSTraining to reply to this post.

Formatting date in Joomla 2.5 blog 11 months 6 days ago #49496

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3954
  • Thank you received: 134
  • Karma: 9
Hello Hope,

You can go into article options or menu article options and change the Creation Date set to Hide.

Is that what you are asking?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Formatting date in Joomla 2.5 blog 11 months 6 days ago #49497

Thanks, Tessa,
I want the DATE to show, but not the TIME.
-Hope
Hope Kiah, Santa Fe Web Design
Please become a member of OSTraining to reply to this post.

Formatting date in Joomla 2.5 blog 11 months 6 days ago #49529

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Go to Extensions > Language Manager
Click the Overrides tab
Search for DATE_FORMAT
Create an override for the one you want to change. Delete the time symbol.

www.ostraining.com/blog/joomla/translati...-language-overrides/

You can use this to get the correct time format.
php.net/manual/en/function.strftime.php

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Formatting date in Joomla 2.5 blog 11 months 6 days ago #49538

Excellent! I'll give this a shot. Thanks Ed and Tessa!
-Hope
Hope Kiah, Santa Fe Web Design
Please become a member of OSTraining to reply to this post.

Formatting date in Joomla 2.5 blog 11 months 6 days ago #49551

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
You're welcome, Hope. Glad we could help.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.