Extract badly formatted date from a mixed string and convert to YYYY-MM-DD

I checked the FAQ but it just suggests that my answer did not fundamentally answer the question. The deletion confused other commenters as it meant context was lost.

  • 4
    Your answer sounded like an addition to your question; I have included the code I use but I wonder if anyone can suggest any improvements. – Martijn Pieters Mar 27 '14 at 11:51
  • 5
    As such it was probably flagged as Not an Answer, and the moderator handling the flag didn't recognize it for an answer either. – Martijn Pieters Mar 27 '14 at 11:51
  • I see. It was an answer, I am just open to the idea that it is not the best answer. I can't find any private message function. What should I do? – cassiopeia Mar 27 '14 at 12:01
  • 1
    You can use the flag option, pick other and ask for an undelete, explaining your case. Do so after you updated your answer to make it clearer it is an answer (move the request for improvement suggestions to the end, at the very least). – Martijn Pieters Mar 27 '14 at 12:04
  • 6
    @cassiopeia Answers aren't the best place to ask, "hey, can I do this better?" Makes it sound like it should be in the question, especially if you're the question owner and you have a low reputation. – George Stocker Mar 27 '14 at 12:38
  • OK I will bear that in mind. Thanks for your undelete. – cassiopeia Mar 27 '14 at 13:03
  • Your question might fit on codereview.stackexchange.com – Stijn Mar 27 '14 at 16:12

Here is the edit that George made on your answer. In the Moderator Dashboard, the moderator who deleted the answer would have only seen the text highlighted in red, unless he expanded the window. At first glance, no additional investigation seems necessary, since the text clearly seems to indicate that a non-answer was posted.

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .