When I run an Angular command the time returned is 1 hour behind. I believe this is causing problems in terms of detecting change with livereload. How do I find what the problem is to this?
Output:
[ng] Date: 2020-03-11T08:08:14.687Z
Expected output:
[ng] Date: 2020-03-11T09:08:14.687Z
If I type the command time in the CLI it displays the right time to me. It seems to be Angular CLI related.
For the sake of clarity, this is the output I get when I run ng build.

This time is not correct it is 1 hour behind of my timezone.
The Date displayed is in UTC. Please notice the Z as the last character of the timestamp. I guess it is used on purpose.
Please take a look at this issue: ng serve doesn't consider the timezone when printing the output and try to make the replacements as mentioned.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With