forked from CSGOWTF/csgowtf
show if new maps not parsed & new map icon for unparsed matches
This commit is contained in:
@@ -52,3 +52,9 @@ export const FormatVacDate = (date, match) => {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
export const MatchNotParsedTime = (match) => {
|
||||
const matchDate = DateTime.fromSeconds(match || 0)
|
||||
|
||||
return matchDate.diffNow().as('hours') >= -2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user