Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:51 am 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
20
14
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?
19
13
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.
18
16
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).
13
18
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
16
12
Quote
All times are EST. The time is now 03:51 am.
- 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