Posts: 18
Threads: 5
Joined: Sep 2010
27-Sep-2010, 07:12 AM
Hi Steve,
how about a switch to display the time in european format (24h) instead of am/pm?
And the same for displaying the date.
Bye
... Gert
Posts: 2,894
Threads: 59
Joined: Jun 2010
Hi,
You can customize the time and date in Layout -> Comments -> General.
If you want 24hr format, change this part:
g:ia
to:
G:i
That will output this:
9:04
Or if you want the leading zero then this:
H:i
Will output this:
09:04
Reference:
http://php.net/manual/en/function.date.php
Have
you completed
the interview?
Posts: 535
Threads: 31
Joined: Jul 2010
Shouldn't this be made more obvious? I doubt anyone who wants to use this script knows php much, so they probably wouldn't know how to use it.
I'm giving you three guesses...
Posts: 18
Threads: 5
Joined: Sep 2010
Hi Steven,
thanks for the quick reply. I made the change.
But I would still prefer a switch. A simple selector would do (24h = 03:10 / am/pm = 1:10pm).
Bye
... Gert
Posts: 2,894
Threads: 59
Joined: Jun 2010
Okay this will be considered.
It's important to note that the time/date can be customized in thousands of ways. If I make a switch for something, someone else will soon want another switch and another etc.
Have
you completed
the interview?