I am facing an intriguing datetime dilemma. It seems like I just can't crack it and it's driving me crazy. Perhaps I overlooked something or didn't approach it in the right way.
Currently, I am retrieving data from Mongo using Axios. The data looks like this:
someMethods() {
this.data = this.$axios.get('api_address/sampleparams');
console.log(this.data);
}
https://i.sstatic.net/6gMCu.png
If I attempt to display this data on my template:
<template>
<div>
{{ data }}
</div>
</template>
...
https://i.sstatic.net/PemB2.png
The start date value received from axios is "2020-12-27T21:00:00.000Z", which is correct. However, why does it appear as 1 day less in the template and dom?
My current timezone is GMT+3.
Appreciate any help. Thank you!