# HG changeset patch # User Tom Gottfried # Date 1560277718 -7200 # Node ID 6d6577a8796321976513ec5a434ad1f3d243dbb6 # Parent 3012d0b3badc17927f82eb040e042e367f881653 Do not show missing date as Unix epoch diff -r 3012d0b3badc -r 6d6577a87963 client/src/components/identify/formatter.js --- a/client/src/components/identify/formatter.js Wed Jun 05 18:50:54 2019 +0200 +++ b/client/src/components/identify/formatter.js Tue Jun 11 20:28:38 2019 +0200 @@ -5,9 +5,10 @@ if (p.key === "staging_done" || p.key === "fa_critical") p.val = p.val ? "yes" : "no"; if ( - p.key === "date_info" || - p.key === "fa_date_info" || - p.key === "gm_measuredate" + (p.key === "date_info" || + p.key === "fa_date_info" || + p.key === "gm_measuredate") && + p.val !== null ) { p.val = new Date(p.val).toLocaleString(); }