Open PinkDuck opened 14 years ago
Bugs contain the posting date after the username (very old bugs dont).
What exactly would you like to change?
In that case, I would like you to update old bugs that don't include the posting date with their posting date. It would be the sensible thing to do now that you've changed to including the post date for new ones.
Could you please write the SQL query for that?
This is not something that a single piece of SQL would be the solution for. You'll need to ask the author to write some code to handle the string processing given that existing descriptions can end with "CET]", "GMT]", "CEST]", "MESZ]" etc. and injecting the date has to take account of existing square brackets in the text field.
Ideally the date should be formatted into the display string prior to client-side use from the raw database fields. In that case the existing dates should be stripped out of the text field and code written to format them suitably based on the locale of the browsing user.
Sorry, my attention to this issue got lost somehow. I can not work on it right now, but I could commit your changes if you submit a patch.
Otherwise this will be solved by the improved quality assurance tool coming in far future...
It would be nice to see the date that an OpenStreetBug issue is posted, as I can't tell whether one occured before or after I mapped an area at my first time of checking the OpenStreetBugs website.