0

I wanted to save the date from material date picker. But while saving my date the saved date is one day behind.

Input date:

enter image description here

Saved date:

enter image description here

susmita rai
  • 39
  • 2
  • 20

1 Answers1

0

Angular material date picker does not support different time zones and it gives you an UTC time offset. You have to modify the javascript code.

You can take a look here: day incorrect in angular material datepicker

Leon
  • 554
  • 4
  • 18