OS Property support center

SOLVED !!! Detail View Time Error

  • aimztech
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 8 months ago - 9 years 8 months ago #69026 by aimztech
SOLVED !!! Detail View Time Error was created by aimztech
Hello:

On detailed view of the property, the created on column shows the date to be okay but is showing the time as 00:00:00. Please kindly guide how to fix this.

Thank you
Last edit: 9 years 8 months ago by Mr. Dam.

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

More
9 years 8 months ago #69028 by Mr. Dam
Replied by Mr. Dam on topic Detail View Time Error
Hi Ali,
Please send the screenshot
Dam

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

  • aimztech
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 8 months ago #69031 by aimztech
Replied by aimztech on topic Detail View Time Error
Please find attached screenshot
Attachments:

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

More
9 years 8 months ago #69061 by Mr. Dam
Replied by Mr. Dam on topic Detail View Time Error
Hi Ali,
You can solve the problem by openning file: components > com_osproperty > templates > theme1 > details.html.tpl.php
Find
Code:
echo JHTML::_('date', $row->created , $configClass['general_date_format']);
and replace by
Code:
$created = JHTML::_('date', $row->created , $configClass['general_date_format']); echo str_replace("00:00:00","",$created);

Good luck
Dam
The following user(s) said Thank You: aimztech, Eugene

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

  • aimztech
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 8 months ago #69067 by aimztech
Replied by aimztech on topic Detail View Time Error
Thank you

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

Moderators: Mr. DamNguyen Phu Quan