Event time - am / pm

  • YODA Studio
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 11 months ago - 10 years 11 months ago #61643 by YODA Studio
Event time - am / pm was created by YODA Studio
Hello everybody!

Is it possible to have the event times shown with 24h instead of am/pm?

Thanks
Last edit: 10 years 11 months ago by YODA Studio.

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

More
10 years 11 months ago #61654 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event time - am / pm
Hi

You can go to Events Booking -> Configuration, find the config option "Event Date Format", By default, it is m-d-Y g:i a

You can change it to m-d-Y G:i

Regards,

Tuan
The following user(s) said Thank You: Bandola, YODA Studio

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

  • YODA Studio
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 11 months ago #61979 by YODA Studio
Replied by YODA Studio on topic Event time - am / pm
Perfect!

Thanks a lot.

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

More
10 years 11 months ago #61992 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event time - am / pm
Great. Thanks for confirming !

Tuan

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

More
6 years 2 weeks ago #132905 by Martin Seidl
Replied by Martin Seidl on topic Event time - am / pm
Hi
how can I have "Uhr" at the end of the time. It is a kind of suffix and in German lang it is the "h"

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

More
6 years 2 weeks ago #132906 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event time - am / pm
Hi Martin

You can go to Events Booking -> Configuration, change Event Date Format config option to m-d-Y g:i a \U\h\r for example and it should be fine (note that a backslash before these characters needed to remove it's special meaning)

Tuan

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

More
5 years 10 months ago #134176 by Martin Seidl
Replied by Martin Seidl on topic Event time - am / pm
Hi Tuan,
after 5 years similar question: I did as you wrote above but still EN am and pm is displayed:
9:00 am Uhr -12:15 pm Uhr
am and pm need to be removed. how to do?

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

More
5 years 10 months ago #134177 by Martin Seidl
Replied by Martin Seidl on topic Event time - am / pm
found it out: for german time format we need to use:
H:i \U\h\r

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

More
5 years 10 months ago #134179 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event time - am / pm
Yes, Martin. That's correct and I'm glad you figured it out

Tuan

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

Moderators: Tuan Pham Ngoc