Skip to content

Commit

Permalink
Render seconds in dark color, millis in light (#605)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <ys@uber.com>
  • Loading branch information
yurishkuro committed Jul 26, 2020
1 parent ade1d34 commit 89f0050
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const HEADER_ITEMS = [
label: 'Trace Start',
renderer: (trace: Trace) => {
const dateStr = formatDatetime(trace.startTime);
const match = dateStr.match(/^(.+)(:\d\d\.\d+)$/);
const match = dateStr.match(/^(.+)(\.\d+)$/);
return match ? (
<span className="TracePageHeader--overviewItem--value">
{match[1]}
Expand Down

0 comments on commit 89f0050

Please sign in to comment.