Skip to content
Snippets Groups Projects
Commit 6cd77e62 authored by Julien Cristau's avatar Julien Cristau
Browse files

Bug 1749017 - bring the date back in X509CertValidity::FormatTime. r=gregtatum,keeler a=RyanVM

parent e225a449
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,7 @@ nsresult X509CertValidity::FormatTime(
PRExplodedTime explodedTime;
PR_ExplodeTime(const_cast<PRTime&>(aTimeDate), aParamFn, &explodedTime);
intl::DateTimeFormat::StyleBag style;
style.date = Some(intl::DateTimeFormat::Style::Long);
style.time = aTimeStyle;
return intl::AppDateTimeFormat::Format(style, &explodedTime,
aFormattedTimeDate);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment