CalendarDateTime::set_time_format('12');
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- Page 22(current)
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?
- Previous 10 entries
- 1
- Page 22(current)