24 hours notation

More
2 years 1 month ago #19204 by Cupramontana
24 hours notation was created by Cupramontana
How can I change the hour notation inside an experience reservation from a.m / p.m. to 24 hours. In the image now it says 06.00 PM and I would like to have it 18:00, and so further.
Attachments:

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

More
2 years 1 month ago #19206 by solidres
Replied by solidres on topic 24 hours notation
Hi,

Please edit this file or make new template override for it:

/plugins/solidres/experience/layouts/experience/bookform/form.php

They can be found in line 202 - 205.

Regards,

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

More
2 years 1 month ago #19207 by Cupramontana
Replied by Cupramontana on topic 24 hours notation
I found the lines but how exactly do I change them. Now it says
<td>
<?php echo date('h:i A', strtotime($time->from)); ?>
</td>
<td>
<?php echo date('h:i A', strtotime($time->to)); ?>
</td>

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

More
2 years 1 month ago #19208 by Cupramontana
Replied by Cupramontana on topic 24 hours notation
I found the solution,
thanks for the help

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

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?