Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
update date/time string to make it human readable
Browse files Browse the repository at this point in the history
  • Loading branch information
erinz authored and erinz2020 committed Sep 5, 2023
1 parent 4de788f commit c0e05f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/changeLog/ChangeLog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function ChangeLog() {
return data?.map((row) => {
return {
id: row.guid,
time: row.created,
time: new Date(row.created).toLocaleString(),
message: `MODULE NAME: ${row.module_name}, ITEM GUID: ${row.item_guid}, AUDIT TYPE: ${row.audit_type}, DETAILS: ${row.message}`,
}
})?.sort((a, b) => new Date(b.time) - new Date(a.time));
Expand Down
1 change: 0 additions & 1 deletion src/pages/match/MatchSighting.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export default function MatchSighting() {
['algorithms', 'hotspotter_nosv', 'scores_by_individual'], [] );
const annotation = scoresByIndividual.find((score) => score.guid === selectedMatchCandidateGuid);
const heatmapUrl = annotation?.heatmap_src;
console.log(heatmapUrl);
setHeatMapUrl(heatmapUrl);
const checkHeatMap = async () => {
try {
Expand Down

0 comments on commit c0e05f3

Please sign in to comment.