If I use {{"2021-09-30T00:00:00Z" | date: "yyyy-MM-dd"}}
, it will automatically minus one day and show 2021-09-29
. I think it is because the time is 00:00, which make it confused?
How I can make the date correct as showing 2021-09-30
using date pipe in angular?