Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar - StartTime and EndTime

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2844 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar - StartTime and EndTime Link to this post

    CalendarDateTime::set_time_format('12');

  • tuck
    Avatar
    Community Member
    2 Posts

    Re: Event Calendar - StartTime and EndTime Link to this post

    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?

    2844 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.