i run a query which is giving me following results
but when i am trying to console it using JavaScript this is giving me one minus date from the results.
[
RowDataPacket { total: 0, log_date: 2020-12-04T18:30:00.000Z },
RowDataPacket { total: 0, log_date: 2020-12-07T18:30:00.000Z },
RowDataPacket { total: 0, log_date: 2020-12-11T18:30:00.000Z }
]
why this is happening. both mysql and console output are on local.