I need to display date in specific timezone.
In my app.module I provide locale_id in french and date is display in good format DD/MM/YYYY.
But I get the date time in UTC Format, and I want to display date in user's timezone.
I work on french PC. If I make this code :
let offset = new Date().getTimezoneOffset();
console.log(offset);
// I get -120
But this :
{{gettingDate | date: 'short'}}
// this display date time in UTC
How to display for all date in my application the date in good user's timezone not in hard-code