**Input:** FormatUtils.formatDateToISO( '1.4.2018', 'D.M.YYYY', true, '1.4.2018', 'DD/MM/YYYY', ) **Output:** Chrome & Firefox: '2018-04-01T00:00:00.000Z' IE: '1.4.2018' **Expected outcome:** '2018-04-01T00:00:00.000Z'
Input:
FormatUtils.formatDateToISO(
'1.4.2018',
'D.M.YYYY',
true,
'1.4.2018',
'DD/MM/YYYY',
)
Output:
Chrome & Firefox: '2018-04-01T00:00:00.000Z'
IE: '1.4.2018'
Expected outcome:
'2018-04-01T00:00:00.000Z'