By Sokrates on Tuesday, 30 June 2020
Replies 2
Likes 0
Views 641
Votes 0
I use JEvents in multilingual web site (English-Spanish). JEvent use the date and time format from the language in use. In Spanish 24 hours time form at is used, which is fine. In English 12 hours time format is used, which is fine, but am and pm is not show that makes it confusing.

How to make the 12 hours time format to also show am / pm?
Hello,

So for the AM/PM you can see:

https://www.jevents.net/frequently-asked-questions/custom-format-strings

for the latest events module. Otherwise if you set the component to use time from language file within the component configuration you should see it rendering nicely and you can override the format as per:

https://www.jevents.net/frequently-asked-questions/time-formatting-in-jevents

Many thanks
Tony
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
. . . if you set the component to use time from language file within the component configuration you should see it rendering nicely and you can override the format as per:

https://www.jevents.net/frequently-asked-questions/time-formatting-in-jevents



Thanks,

Language override of JEV_TIME_FORMAT to %l.%M %P shows the time in a more accurate way
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post