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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Event Calendar - StartTime and EndTime


Go to End


10 Posts   3661 Views

Avatar
UncleCheese

Forum Moderator, 4102 Posts

23 August 2011 at 5:03am

CalendarDateTime::set_time_format('12');

Avatar
tuck

Community Member, 2 Posts

23 August 2011 at 6:32am

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?

Go to Top