Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Bug date #16

Open
PinkDuck opened this issue Nov 20, 2009 · 6 comments
Open

Bug date #16

PinkDuck opened this issue Nov 20, 2009 · 6 comments
Labels

Comments

@PinkDuck
Copy link

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.

@emka
Copy link
Owner

emka commented Nov 20, 2009

Bugs contain the posting date after the username (very old bugs dont).

What exactly would you like to change?

@PinkDuck
Copy link
Author

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.

@emka
Copy link
Owner

emka commented Nov 20, 2009

Could you please write the SQL query for that?

@PinkDuck
Copy link
Author

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.

@PinkDuck
Copy link
Author

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.

@emka
Copy link
Owner

emka commented Jan 29, 2010

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants