Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Event Calendar - StartTime and EndTime


Reply

10 Posts   2933 Views

Avatar
UncleCheese

23 August 2011 at 5:03am 4085 Posts

CalendarDateTime::set_time_format('12');

Avatar
tuck

23 August 2011 at 6:32am Community Member, 2 Posts

UncleCheese, I set CalendarDateTime::set_time_format('12') and that only affects the admin page but when displaying $StartTime on my homepage I still get the 24 hour.

I also found that if I set the CalendarDateTime in the site _config it doesn't update but if changed in the module itself then the admin page shows 12 hour. This is fine but if I update your module my settings will be overwritten. Any ideas?