angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

Changing time format #301

Closed johneakin closed 9 years ago

johneakin commented 9 years ago

Hi, Currently the calendar is showing the times as a prefix to the event names: '1a test' '2p test'

How can I reformat these to be '01:00 test' '14:00 test'

Thanks

johneakin commented 9 years ago

This seems to work

$scope.uiConfig = {
    calendar: {
        timeFormat:'HH:mm'
                  }
             }
EsteBusta commented 9 years ago

All the available configurations are listed in the http://fullcalendar.io/docs/ include that you mentioned.

Sefriol commented 9 years ago

@johneakin Nice that you found a solution! If you don't have any following issues with this topic, would you kindly close it? :)

Unintended Bioshock reference.