Input - date in string - "2021-12-25T11:15:00Z"
output required: 2021-12-13 15:00 PM which is basically yyyy-MM-dd HH:mm aa format
what I tried:
new Date('2021-12-25T11:15:00Z').toLocaleString()
which outputs - '12/25/2021, 3:15:00 PM'
is there any way, I could achieve this using toLocaleString options?