Skip to content

Commit

Permalink
fix broken start time on draft trips
Browse files Browse the repository at this point in the history
This was caused by missing parentheses - instead of passing the result of toISO(), we were passing the toISO function itself!
  • Loading branch information
JGreenlee committed Dec 6, 2023
1 parent 4d664ad commit aa8cbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/diary/timelineHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
Expand Down

0 comments on commit aa8cbe4

Please sign in to comment.