Date and time formats

gr0mit9 years ago

HI
Just installed Traccar and am a bit of a noob.

I'm trying to work out how to set the date and time on the web site view correctly. It appears in US date format (mm/dd/yy) and AM/PM time format, both of which are highly muddlesome for us in UK.

The locale for the server is all UK and I've looked at the config files and the database contents to see if there's any options but I see none.... Help please?!

Cheers
Tim

Anton Tananaev9 years ago

This problem will be fixed in the next release. Server will always display time and date in international format (year/month/day and time in 24 hour format). If you don't want to wait, you can try to compile Traccar from source code.

panneer.sivasamy8 years ago

I don't know how to bind events through API. i have used The following code in postman. Please help how to bind reports/events through API

parameters:[
{:
"name":3,
"in":"query",
"description":"at least one deviceId or one groupId must be passed",
"required":true,
"type":"array",
"items":{
"type":"integer"
}:
},:
{:
"name":3,
"in":"query",
"description":"at least one deviceId or one groupId must be passed",
"required":true,
"type":"array",
"items":{
"type":"integer"
}:
},:
{:
"name":"%",
"in":"query",
"description":"% can be used to return events of all types",
"required":true,
"type":"array",
"items":{
"type":"string"
}:
},:
{:
"name":"2016-08-23 23:43:49",
"in":"query",
"required":true,
"type":"string"
},:
{:
"name":"2016-10-23 23:43:49",
"in":"query",
"required":true,
"type":"string"
}:
]:
Anton Tananaev8 years ago

It looks like swagger documentation, it's not actual request.