From ef82da7664107843afffe8f7dbd03ad8155a80ce Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 10 Mar 2018 16:24:07 -0800 Subject: [PATCH] Don't show colons for time that we don't know --- js/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/utils.js b/js/utils.js index 5066454b..ca9c1ca6 100644 --- a/js/utils.js +++ b/js/utils.js @@ -37,6 +37,9 @@ export const getTimeObj = time => { }; export const getTimeStr = (time, truncate = true) => { + if (time == null) { + return ""; + } const { minutesFirstDigit, minutesSecondDigit,