Inside PnP Modern Search Web Part, how i can show the Date Time in the sharepoint local time zone
I am working on a SharePoint online site collection which have this regional settings:-
And i have a SharePoint column of type Date/Time, now inside SharePoint list view the date/time will be show as follow:-
which respect the site regional settings. now for the above site column >> i have a managed property and when i am showing this manage property inside the PnP Modern Search Result web part i will get the value based on UTC, as follow:-
so how i can show the date/time inside my Search Result to be equal to what is shown inside the list view?
Here is how i am rendering the column value inside the Search Result web part settings (resource.fields.RefinableDate01):-
I am working on a SharePoint online site collection which have this regional settings:- And i have a SharePoint column of type Date/Time, now inside SharePoint list view the date/time will be show as follow:- which respect the site regional settings. now for the above site column >> i have a managed property and when i am showing this manage property inside the PnP Modern Search Result web part i will get the value based on UTC, as follow:- so how i can show the date/time inside my Search Result to be equal to what is shown inside the list view?Here is how i am rendering the column value inside the Search Result web part settings (resource.fields.RefinableDate01):- Read More