Experience Profile has a concept of client transformers that modify data before it's displayed. Each page can have its own transformer. The configuration for it is in Sitecore.ExperienceProfile.Client.config. Specifically in your case you would need to replace the transformer for journey-detail-outcome view.
1) Define a time converter and provide your custom date/time formatting.
class MyTimeConverter : TimeConverter
{
public MyTimeConverter(Sitecore.Cintel.Client.Repository repository, Sitecore.Cintel.Client.ContextUtil contextUtil)
: base(repository, contextUtil)
{
}
public override string FormatDateTime(DateTime time)
{
return base.FormatDateTime(time, "dd/MM/yyyy HH:mm:ss"); //can be read from config
}
}
2) Define a ResultSetExtender
that is used to apply transformations to the data returned by the Experience Profile. Custom time converter is one of the constructor parameters.
public class MyResultSetExtender : ResultSetExtender
{
public MyResultSetExtender() : this(
Sitecore.Cintel.Client.ClientFactory.Instance.GetResultSetHelper(),
new MyTimeConverter(Sitecore.Cintel.Client.ClientFactory.Instance.GetRepository(), Sitecore.Cintel.Client.ClientFactory.Instance.GetContextUtil()),
Sitecore.Cintel.Client.ClientFactory.Instance.GetTextConverter())
{
}
public MyResultSetExtender(
Sitecore.Cintel.Client.Transformers.ResultSetHelper resultSetHelper, Sitecore.Cintel.Client.Transformers.TimeConverter timeConverter,
Sitecore.Cintel.Client.Transformers.TextConverter textConverter)
: base(resultSetHelper, timeConverter, textConverter)
{
}
}
3) Define an actual transformer for the view and supply the result set extender from the previous step.
public class MyOutcomeTransformer : Sitecore.Cintel.Client.Transformers.Contact.JourneyOutcomeDetailResultTransformer
{
public MyOutcomeTransformer() : base(new MyResultSetExtender()) { }
}
4) Patch Sitecore.ExperienceProfile.Client.config.