mirror of
https://github.com/dedicatedcode/reitti.git
synced 2026-01-09 01:17:57 -05:00
457 bug drop owntracks ping support (#458)
This commit is contained in:
@@ -2,9 +2,6 @@ package com.dedicatedcode.reitti.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.time.ZoneId;
|
||||
import java.time.ZonedDateTime;
|
||||
|
||||
public class OwntracksLocationRequest {
|
||||
|
||||
@JsonProperty("_type")
|
||||
@@ -133,9 +130,6 @@ public class OwntracksLocationRequest {
|
||||
point.setLatitude(latitude);
|
||||
point.setLongitude(longitude);
|
||||
|
||||
if (this.t != null && this.t.equals("p")) {
|
||||
timestamp = ZonedDateTime.now().toEpochSecond();
|
||||
}
|
||||
// Convert Unix timestamp to ISO8601 format
|
||||
if (timestamp != null) {
|
||||
// Convert seconds to milliseconds and format as ISO8601
|
||||
|
||||
Reference in New Issue
Block a user