I'm trying parse ISo8601String to Date in Nest JS through DTO. I send a json with the date's string like:
{lunMIni: 1001-01-01 00:00:00.000}
In Nest js, I receive the data and it's transform by:
@ApiProperty()
@Type(() => Date)
@IsDate()
lunMIni: Date
After transform, the data is:
{lunMIni: 1001-01-01T00:14:44.000Z}
I don't know why the date change to 00:14:44 ?