GoMap icon indicating copy to clipboard operation
GoMap copied to clipboard

attributes show wrong date

Open dieterdreist opened this issue 2 years ago • 2 comments

It seams the attributes are maybe showing the date of the former version, see this screenshot, version 2 is correct but the date is from version 1

08C26ED2-B9AB-42AF-BD19-F69658630C5E

https://www.openstreetmap.org/node/11202843519/history

dieterdreist avatar Sep 19 '23 19:09 dieterdreist

Was this an object you created, and then updated to version 2?

bryceco avatar Sep 21 '23 20:09 bryceco

yes, I created it and updated it some hours later. Then I closed the app, reopened and checked and noticed the date was wrong.

dieterdreist avatar Sep 21 '23 21:09 dieterdreist

Finally got around to looking into this. When you upload an object the server returns the new version number, and a new identifier if it changed. It doesn't return any metadata like the timestamp. We could query the server for the timestamp but I don't think it's worth the effort. Instead I'm going to update the timestamp to the current time, which should be accurate within a few seconds but will not exactly match what the server reports.

bryceco avatar Jun 25 '24 20:06 bryceco