From aa8cbe4312bc10234dec02271cb34139ba9b23a2 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Wed, 6 Dec 2023 13:38:02 -0500 Subject: [PATCH] fix broken start time on draft trips This was caused by missing parentheses - instead of passing the result of toISO(), we were passing the toISO function itself! --- www/js/diary/timelineHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/diary/timelineHelper.ts b/www/js/diary/timelineHelper.ts index 383a78bc4..00d376a52 100644 --- a/www/js/diary/timelineHelper.ts +++ b/www/js/diary/timelineHelper.ts @@ -318,7 +318,7 @@ const points2TripProps = function (locationPoints) { inferred_labels: [], locations: locations, source: 'unprocessed', - start_fmt_time: startTime.toISO, + start_fmt_time: startTime.toISO(), start_local_dt: dateTime2localdate(startTime, startPoint.metadata.time_zone), start_ts: startPoint.data.ts, user_input: {},