diff --git a/src/index.js b/src/index.js index 56b426f..e76f4c7 100644 --- a/src/index.js +++ b/src/index.js @@ -87,7 +87,12 @@ async function main() { ) let body = await res.json() body.data.activities.map((activity) => { + activity.recognizedAt = (activity.recognizedAt ?? 1) * 1000 + if (activity.formattedTotal == "$0.00") { + return "" + } delete activity.routing + delete activity.uuid if (activity.tripMetaData?.mapUrl) { delete activity.tripMetaData.mapUrl }