Codoforum related discussions
24 hour clock / time format?

By default, Codoforum uses a 12-hour clock (using am and pm notation).

I'm looking for a setting to change this to a 24-hour format. Can this be achieved, if possible using a Dutch locale (nl_NL)?

Note: I'm running the software on a Windows Server in IIS 8.5 with PHP 5.6.

Thanks in advance!

By default, Codoforum uses a 12-hour clock (using am and pm notation). I'm looking for a setting to change this to a 24-hour format. Can this be achieved, if possible using a Dutch locale (nl_NL)? Note: I'm running the software on a Windows Server in IIS 8.5 with PHP 5.6. Thanks in advance!

By default, Codoforum uses a 12-hour clock (using am and pm notation).

I'm looking for a setting to change this to a 24-hour format. Can this be achieved, if possible using a Dutch locale (nl_NL)?

Note: I'm running the software on a Windows Server in IIS 8.5 with PHP 5.6.

Thanks in advance!

Pretty sure you can reference:

http://php.net/manual/en/function.date.php

Just replace the 12-hour value with the 24-hour value.

>By default, Codoforum uses a 12-hour clock (using am and pm notation). >I'm looking for a setting to change this to a 24-hour format. Can this be achieved, if possible using a Dutch locale (nl_NL)? >Note: I'm running the software on a Windows Server in IIS 8.5 with PHP 5.6. >Thanks in advance! Pretty sure you can reference: > http://php.net/manual/en/function.date.php Just replace the 12-hour value with the 24-hour value.

Darp

Hi,

Yes, all the timestamps are generated from a function get_pretty_time()
in sys/CODOF/Time.php

You can edit that function as per your requirements.

Let us know if you need any help.

Hi, Yes, all the timestamps are generated from a function get_pretty_time() in sys/CODOF/Time.php You can edit that function as per your requirements. Let us know if you need any help.
268
2
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft