I have the following code to show the provided date and time:
{{ product.availableFromUtc | date: 'mediumDate' }} {{ product.availableFromUtc | date: 'shortTime' }}
The DateTime is stored as UTC in the database (2020-08-25 14:30:29.6220000
).
It is shown as: 25 aug. 2020 14:30
When I use {{ product.availableFromUtc | date: 'fullDate' }} {{ product.availableFromUtc | date: 'fullTime' }}
to see the full object, it shows: dinsdag 25 augustus 2020 14:30:29 GMT+02:00
It needs to show 25 aug. 2020 16:30
. What am I doing wrong, or what do I need to do in order to fix this?