OS Property support center

Remove hour from created date

  • julian
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 5 months ago #89585 by julian
Remove hour from created date was created by julian
Hi,

I don't need the "hour" in the created date..

How can I remove it?

Please see atachment.

Thanks,

Julian
Attachments:

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

More
7 years 5 months ago #89635 by Nguyen Phu Quan
Replied by Nguyen Phu Quan on topic Remove hour from created date
Hi,
Please open file Root > components > com_osproperty > templates > theme1 > details.html.tpl.php
Find the code $configClass and change it to 'd-m-Y'

Thanks
Quan
Attachments:
The following user(s) said Thank You: julian

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

  • julian
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 10 months ago #113661 by julian
Replied by julian on topic Remove hour from created date
Everytime I upload the component, The same issue appears. If I am selling or renting properties, with just the date is fine, we don't need the hour. Withe the day, month and year it is more than fine. We are not selling potatoes. So please, tell me because I followed before writing this post above solution, but nothing happened.

Please give me a final solution, even if I update the component.

Thanks

Julian

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

Moderators: Mr. DamNguyen Phu Quan