I have date 14.05.2017 15:32
its polish format of date and time dd.MM.yyyy HH:mm
when im using moment library with locales it always set time to default value of 00:00:00
.
Here is example code that i've tried to use Fiddle
console.log(moment('14.05.2017 15:32').format('dd.MM.yyyy HH:mm'))
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.19.3/moment.min.js"></script>
Any other suggestions how to parse it? Expected result:
2017-05-14T15:32:00.004Z