File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const IssuesTimeline: React.FC<IssuesTimelineProps> = ({ issues }) => {
5252 )
5353 ? "#dc3545"
5454 : getRiskDotClass ( issue . riskRating ) . includes ( "warning" )
55- ? "#7F46F1 "
55+ ? "#ffc107 "
5656 : "#28a745" ,
5757 } }
5858 />
@@ -69,7 +69,10 @@ const IssuesTimeline: React.FC<IssuesTimelineProps> = ({ issues }) => {
6969 < div >
7070 < div style = { styles . timelineIssueTitle } > { issue . name } </ div >
7171 < small style = { styles . timelineIssueMeta } >
72- Raised on { new Date ( issue . dateRaised ) . toLocaleDateString ( ) } { " " }
72+ Raised on{ " " }
73+ { new Date ( issue . dateRaised ) . toLocaleDateString ( "en-US" , {
74+ timeZone : "UTC" ,
75+ } ) } { " " }
7376 • { issue . age || 0 } days old
7477 </ small >
7578 </ div >
@@ -84,7 +87,7 @@ const IssuesTimeline: React.FC<IssuesTimelineProps> = ({ issues }) => {
8487 className = { `badge ${ getRiskBadgeClass ( issue . riskRating ) } ` }
8588 style = { { fontSize : "12px" , padding : "6px 12px" } }
8689 >
87- Risk { issue . riskRating } /6
90+ Risk { issue . riskRating } /5
8891 </ span >
8992 </ div >
9093 </ div >
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ export function formatFriendlyDate(dateString: string = "") {
9595 if ( ! dateString ) return "" ;
9696 const date = new Date ( dateString ) ;
9797 return date . toLocaleDateString ( "en-US" , {
98+ timeZone : "UTC" ,
9899 month : "short" ,
99100 day : "numeric" ,
100101 year : "numeric" ,
You can’t perform that action at this time.
0 commit comments