gpslogger
gpslogger copied to clipboard
Custom URL parameter %TIME
question why the %TIME
parameter returns the submission time for offline queue entries? Should the date-time fetch when actual logs when recorded and not the time when submitted when goes online? How can I get the actual Time when recorded and not the TIME submitted?
Also, can I disabled the offline entries to submitted when internet goes online again?
Sorry if I ask this on github I cannot find any support or contact page in the main site.
thanks,
The %TIME and %DATE are from the location fix itself, not the phone's time and date. See:
https://github.com/mendhak/gpslogger/blob/cb05814ddc36ffb12ac49f81c5f04a79384c0a1c/gpslogger/src/main/java/com/mendhak/gpslogger/loggers/customurl/CustomUrlLogger.java#L104
If you're asking how to get the time it was recorded in your own database, that's something you'll need to do on the server side. For example the script that you use to receive the logs, record the datetime there, or have a calculated column in your database which automatically sets a value when a new row is inserted.
It's not possible to disable the Custom URL queueing feature.