Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 08:53 pm EST
Geeklog Forums
24h time format for calendar
tokyoahead
Anonymous
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
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
18
13
Quote
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
Oliver
21
12
Quote
Luigi
Anonymous
Any help on this?
16
12
Quote
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.
17
14
Quote
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).
11
16
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
Displaying the time in 24 hour format has always worked, as pointed out earlier in this thread.
bye, Dirk
15
11
Quote
All times are EST. The time is now 08:53 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content