This question already has an answer here:


With the code prior to my edit, "new Date("xx").toISOString()" produces "NaN-NaN-NaNTNaN:NaN:NaN.NZ"

That's clearly never the desire behavior. The behavior of a shim should be to mimic the native functions behavior.

Does anyone know why this edit was rejected?

edit: While I'm asking, this edit clearly fixed syntax errors in the code but was also rejected...

marked as duplicate by gnat, Martijn Pieters discussion Aug 18 '14 at 21:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    You needed more plagiarism and use of backticks for it to be approved – random Aug 18 '14 at 21:21
  • You might want to be more careful editing...1 approved to 10 rejected might land you an editing timeout soon. – JonK Aug 18 '14 at 21:43
  • 2
    Do not edit code. Period. If you have better code, post new answer. If you see glaring error, comment and let the author fix it. – Shadow The Princess Wizard Aug 18 '14 at 21:53
  • I was never checking if my edits were approved before. It's surprising I can be placed in "timeout" for fixing syntax errors in code. Can anyone provide a link to an information page that describes why my edits are inappropriate? – Joseph Lennox Aug 18 '14 at 22:29
  • 2
    They're inappropriate because you're changing the intent of the answer. If the answer contains a code error, either comment to the poster and tell them so they can fix it, or downvote the answer for being wrong and post your own correct answer. If you change the poster's code incorrectly, it's their reputation that's negatively affected, and it can possibly negatively affect their entire account (such as suspension for too many negatively-voted answers). The general rule: Don't edit code except for formatting. – Ken White Aug 18 '14 at 23:34
  • 1
    Your edits are appropriate, assuming you're genuinely fixing a minor bug and not introducing a different error or changing the core of the answer. Unfortunately, there are users on SO (represented in the comments here) who stand against improving content. Sorry about this. Please disregard them and keep up the good work. – Gilles 'SO- stop being evil' Aug 19 '14 at 9:57
  • Thank you @Gilles and Ken-White, both of your responses make sense and represent reasons why it should and shouldn't be done. Until I have enough karma points to not require approval, I'll stick to comments, and even then, only fix syntax errors. – Joseph Lennox Aug 19 '14 at 16:36

Browse other questions tagged .