changing time symbols

changing time symbols was created by Anders Hidman

Hello!
The timekeeping symbols "PM" & "AM" should in Swedish be "FM" and "EM"
See picture:
screencast.com/t/CVz8muuXOnXs

I do not understand where I can change this.

Can you please help me with this?
Best regards
Anders H
Sweden
5 years 2 months ago#5757

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

Replied by Super User on topic changing time symbols

Open the default.php file from the below path,

Root -> components -> com_jomclassifieds -> views -> user -> tmpl -> default.php

Find the below code :
$expiryDate = ( $item->expirydate == '0000-00-00 00:00:00') ? '0000-00-00 00:00:00' : JHtml::date($item->expirydate , 'D, M j, Y g:i a', null);

and add the below code after the above code :
$expiryDate = str_replace("am", "em", $expiryDate);
$expiryDate = str_replace("pm", "fm", $expiryDate);
Thanks.
The following user(s) said Thank You: Anders Hidman
5 years 2 months ago#5758

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

Replied by Anders Hidman on topic changing time symbols

Thanks for your superb support

BR
Anders
5 years 2 months ago#5759

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

Time to create page: 0.190 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
Copyright © 2013-2020 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.