Default Format For Time - Change To 12 Hour Clock

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
mockingbird
Posts: 1
Joined: Thu Feb 02, 2023 4:54 am

Default Format For Time - Change To 12 Hour Clock

Post by mockingbird » Thu Feb 02, 2023 4:59 am

In the configuration under "International Settings", I have the variable set to the default which is %H:%M:%S.

I would like to change this to a 12 hour clock so that it should read the time and then whether it is AM or PM.

The reason for this is that I thinks it looks nicer that way for user comments.

Is this something that could be easily accomplished?

Thanks

User avatar
fraenkiman
Posts: 203
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Default Format For Time - Change To 12 Hour Clock

Post by fraenkiman » Fri Feb 03, 2023 12:50 am

Hello mockingbird,

welcome on board.

Try the following format as default time format in the administration area->Options->International settings.

Code: Select all

%I:%M:%S %p 
With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests