Add Replay Period Last Hour

gLeWa month ago

Hi, I'd like to know if there's a way to add the last-hour option to the vehicle replay menu.
The shortest option is today, and sometimes I just need to see the latest movements.

It could be added to the menu by adding something in the settings, or could it be considered for a future update.
Thanks.

Screenshot_5.jpg

Cristiana month ago
Anton Tananaeva month ago

When you select "custom", it should give you last hour by default.

gLeWa month ago

Hello, thank you both for your responses.

Anton, your answer is correct, but there's a mistake.

When you select Custom, it does show the current date and the last hour, but for example, if I select Custom at 9:30 and 45 minutes have passed, and it's already 10:15, and I select Custom again, it still shows the period from 8:30 to 9:30.
The only way is to press F5 and refresh the browser. I haven't tried it on my phone yet, but I should close and reopen the app.

Anton Tananaeva month ago

Yeah, it only pre-sets it once. It's not a mistake.

gLeWa month ago

Ups, ok so is no way to add last hour to the Menu?

Anton Tananaeva month ago

Of course there is - in the code.

gLeWa month ago

Last question, if i modify the code, each time i update traccar to newer version i lost the item in the menu??, are any way to add something to the config file, so everytime i update Traccar i dont lost the "Last Hour Replay"

Thanks in advance

Anton Tananaeva month ago

You would have to reapply your change on top of new versions, of course.