Hi
In the event in EU we have set the event time to Amsterdam
In the portal I added the Date format DateTime/DateFormat Value – dd/MM/yyyy
On the event portal on the event page the date still shows the UTC time format
When I look at the HTML code the class has event-date
<h3 _ngcontent-pqi-c3="" class="event-date">Sep 7, 2020, 10:00:32 AM</h3>
How can I change the output on the portal?
Since it is now 2022, im wondering if a solution to this problem has occurred?
The problem with dates extends further than just the Event Dates in UTC format. The drop downs are also affected. You would think you should be able to change a date format in site sittings, not have to run off to do Angular changes. We are still having issues trying to find the Event Sessions Date Drop Down to change that away from US Date format. I hope Microsoft fixes this mess in the Events Portal. Simple changes should not require a PowerShell Deploy. If anyone knows how to change the date format in the session drop down would be awesome to hear how!
Hi Mariette,
I have voted on your idea.
Let's wait for the OOB customization feature would be achieved in future release. :)
Regards,
Clofly
Hello Jetj25,
As steps given by the first replier and Shailesh Jain, it would be easy to simply change the date format.
If you have any problem, community members are willing to help you!
Best,
Nikolai
I have add the feature request to the ideas forum
Vote here: experience.dynamics.com/.../
Hi Mariette,
Sorry for the inconvenience.
In Dynamics, all dates are stored in UTC format, and they have been formatted by system when we see them.
Therefore, date data will also be outputted to Event in it original format, and they are formatted by Angular at front-end.
However, currently the component to customize date format is not available to Event Portal management.
You could add the feature request to Ideas forum.
Regards,
Clofly
I think it is time Microsoft does bring the marekting module to powerapps portals
It is really annoying that some small changes like dates etc. does not work and we have to fix this as a partner in the code and not in the portal system.
Also when you do customizations you have to be aware of any updates :
Manually overwriting the event management website overwrites the possible customizations that are made on the website, copy those customizations in a repository outside of the instance. After overwriting the website files, you can use standard DeployToDynamics365Instance.ps1 script to bring your customizations back to the instance.
How does Microsoft expect a customer that they manage the software by themselves
I have a similar problem but I'm using the October 2020 release of the event website and changing the {{ formatStartDate() }} to a specific format in the manner suggested breaks the page. Date settings are set in the environment.ts file and then this is used by the event.component.ts which in turn uses the DateFormatter.ts helper. Unfortunately despite having changed the settings in the environment.ts file to use UK formatting of dd/MM/yyyy, my event portal is still defaulting to US format.
Hi Mariette,
From my test, it seems that site settings wouldn't work for Event Portal: due to Event Portal is built with Angular, which is totally different from other general portals such as Customer Community or Customer self-service portal.(They are built with Liquid.js)
Therefore, we have to download sample event website and customize it locally, then upload the modified website data to portal with deployment script.
The format of date time is easy to customize, we only need to add little changes in event.component.html. (About at line 18.)
If you encountered any problem when compiling the event website or running the deployment script, please refer to my answer in the following thread:
Regards,
Clofly
André Arnaud de Cal...
291,971
Super User 2025 Season 1
Martin Dráb
230,846
Most Valuable Professional
nmaenpaa
101,156