Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set TimeZone? #136

Open
barart opened this issue Dec 30, 2023 · 0 comments
Open

How to set TimeZone? #136

barart opened this issue Dec 30, 2023 · 0 comments

Comments

@barart
Copy link

barart commented Dec 30, 2023

Running it on Docker, im using EV TZ to "set" the TimeZone, my server has my TimeZone too, on Docker Container console if i run the command Date, console returns my current date and time correctly, on the webapp if i search locations from specific time and/or date locations points are returned correctly, however on the location lists and location point details the date and time is showing incorrect example:

I have this location point that was recorder at 9:59 PM on Friday, Dec, 29:

{
"id": xxxxx,
"company_id": 1,
"company_token": "Test",
"device_id": 2,
"device_model": "NOH-NX9",
"created_at": "2023-12-30T15:42:58.541Z",
"framework": "capacitor",
"version": "12",
"updated_at": "2023-12-30T17:27:51.735Z",
"activity_type": "still",
"activity_confidence": 100,
"battery_level": 0.64,
"battery_is_charging": false,
"is_moving": true,
"uuid": "xxxxx",
"timestamp": "2023-12-30T03:59:15.000Z",
"age": 112,
"odometer": 2508,
"extras": {},
"latitude": xxx,
"longitude": xxx,
"accuracy": 8.2,
"speed": 5.32,
"speed_accuracy": 0.15,
"heading": 92.76,
"heading_accuracy": 5,
"altitude": xxx,
"ellipsoidal_altitude": xxx,
"altitude_accuracy": 8.2,
"recorded_at": "2023-12-30T03:59:15.000Z"
}

The date and time is the same that appears on the List:

image

However my location search is on the day 29:

image

How can i set the dateTime so the list and location point details match the search date and time? Trying to read the points details and list is difficult because the date and time do not match

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant