Hi, I've set up an angular calendar, it's a news programmer where people record what time they would be available or not at what time.
How can I show the date in the calendar in "1 mar 2017 12:00"
format?
I know that with ng-repeat is to add date: 'MMMM dd yyyy'
and it works, but on the calendar no, I have it so that when I click on a calendar item, I show the detailed information in a text box, with the full name and the dates ... I can not show it in that text box with the format.
<div class="Calendar" ui-calendar='vm.uiConfig.calendar2' ng-model='vm.eventSources2'></div>
<div class="col-md-5">
<div ng-show="vm.selectedEvent" class="alert alert-success" style="margin-top:8px; font-size: 15px; font-weight: normal;">
<h4 style="margin-top:0px; font-weight: bold;">Detalles:</h4>
<p>{{vm.selectedEvent.titledetail}}</p>
<p>{{vm.selectedEvent.dateini | date: 'dd MMMM yyyy, HH:mm'}}</p>
<p>{{vm.selectedEvent.datefin | date: 'dd MMMM yyyy, HH:mm'}}</p>
<p>Novedad: {{vm.selectedEvent.description}}</p>
</div>
</div>
</div>
I get it like this from: 2017-06-16T11:55:00-05:00