I have two datepickers, a start and an end date. Both have a format mask of DD-MON-YYYY HH24:MI
When the start date changes, I want to set the value of the end date = start date. I have a dynamic action on change of the start date and try to set the value of the end date in javascript. But the result is a incorrect value of for example 14-Sep-2018 HH:ii and when I open the datepicker, the wrong date is preselected.

JS Code:
var startDate = $v('P1_START');
//console.log(startDate);
$('#P1_END').datepicker('setDate',startDate);
Link to Application:
https://apex.oracle.com/pls/apex/f?p=104966:1:8255151573963:::::
User + pw: demo