release v0.5.1

This commit is contained in:
Christian Beutel
2024-05-05 16:26:30 +02:00
parent 756a9fa79f
commit 24cec4e42a
13 changed files with 14 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ export async function gpx2trail(gpxString: string) {
const startTime = trackPoints?.at(0)?.time;
const endTime = trackPoints?.at((trackPoints?.length ?? 1) - 1)?.time
if (startTime && endTime && !trail.date) {
if (startTime && endTime) {
trail.date = startTime.toISOString()
.substring(0, 10);
}