Change time format to a.m./p.m. WITH periods, lowercase

  • jgribble
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 9 months ago #134956 by jgribble
How to do? I think this requires PHP knowledge? The default value is g:i a.
Thanks!

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

More
5 years 9 months ago #134973 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change time format to a.m./p.m. WITH periods, lowercase
Hello

You can go to Events Booking -> Configuration, look at Event Date Format and Time Format config options, change g:i a from there to H:i and it should be fine

Tuan

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

  • jgribble
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 9 months ago #134997 by jgribble
Hi Tuan, thanks for the reply. So sorry that H:i doesn't work. What we get as am and pm. Not a.m. and p.m. Which is U.S. style time formatting. Any other ideas?
-JG

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

More
5 years 9 months ago #134999 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change time format to a.m./p.m. WITH periods, lowercase
You need a.m and p.m ? If so, I'm afraid of it's not possible

Tuan

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

  • jgribble
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 9 months ago #135003 by jgribble
After reviewing PHP time formats, I agree it's not possible. However it is the preferred time format for all users in the U.S.; so I hope you will consider making it possible in future versions. Sorry that English is one of the most fluid languages on the planet. There are a lot of different views on which style is "correct." This one, with periods, is standard for all U.S. publishers of newspapers, journals and magazines. It is based on style rules adopted by the Associated Press.
Take care and be well,
-JG

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

More
5 years 9 months ago #135019 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change time format to a.m./p.m. WITH periods, lowercase
This is something handled by PHP internal, so we don't have a solution for it unless re-writing many code

So for now, please use it as how it's

Tuan

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

  • jgribble
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 9 months ago #135023 by jgribble
Of course. I just hope you'll consider it for the long term, because it is important to your U.S. customers - at least, those of us who know the correct style and have picky clients who care about following the rules of good grammar, punctuation and spelling!

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

More
5 years 9 months ago #135024 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change time format to a.m./p.m. WITH periods, lowercase
To be honest, in many years of Events Booking life, this is the first time I heard about this request, so maybe the format is OK for most of customers, I'm unsure.
So I will have to rely on PHP internal for now. If there are more customers need this option, I will try to find a solution in the future

Tuan

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

  • jgribble
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 9 months ago #135025 by jgribble
I believe you, totally. "Back in the day" I was a newspaper editor. It taught me strict respect for the rules. I am still a little obsessive. I admit it. No worries, thanks.

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

More
5 years 9 months ago #135039 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change time format to a.m./p.m. WITH periods, lowercase
OK. Thanks for understand :)

Tuan

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

Moderators: Tuan Pham Ngoc