tokyoahead

Anonymous
caffeinated
Hi,

I (as someone from europe )would liek to have 24hr format of the time. The 12hr AM/PM is confusing if you are not used to it. 12PM should be after or before 11PM?

I guess its not such a big effort to make two different forms and a config.php entry... or is it?

Oliver

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Try these in your config.php:

$_CONF['date'] = '%A, %B %d %Y @ %H:%M %Z';
$_CONF['daytime'] = '%m/%d %H:%M';
$_CONF['timeonly'] = '%H:%M %Z';

tokyoahead

Anonymous
I was more talking about the forms to input the date whzen creating a new calendar entry than the display form of already entered dates.

Oliver

Luigi

Anonymous
Any help on this?

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
There is $_CONF['hour_mode'] which should do it. Calendar has it's own $_CA_CONF['hour_mode'] for no apparent reason.

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
That's only available as of Geeklog 1.4.1 (still in beta), though.

bye, Dirk

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Then you can edit COM_getHourFormOptions to create a 24 hour time format (or even steal the 1.4.1 version of COM_getHourFormOptions which already is coded).

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
The question was for input in 24 hour format - and that's only available as of 1.4.1 (and it's no small change).

Displaying the time in 24 hour format has always worked, as pointed out earlier in this thread.

bye, Dirk