Skip to main content
9 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
May 3, 2014 at 14:59 comment added user344 @AShelly Actually, it only passes for 2, as Sep becomes Sepember. Unless you use Sept, of course.
Apr 2, 2014 at 19:33 comment added AShelly This is exactly the type of solution I was thinking of offering, with a "disclaimer: you said it was urgent, so I rushed and only tested 3 cases, but it passed for all of them".
Apr 2, 2014 at 14:25 comment added Sylwester @ace And it does. It turns "Jan" into "Janember" Looking at the example that exactly what the OP wants. I can't really see how one can downvote answer for code-trolling tags since "Deliberately misinterpreting the question" and "cheat on the question" are both good ways to answer it.
Apr 2, 2014 at 14:19 comment added user12205 From the question, "I need to convert shortened versions of month names to their longer representations (e.g "Dec" -> "December")" December is an example, not all cases. Your program should work for all month names.
Apr 2, 2014 at 14:10 comment added Sylwester @ace It doesn't throw any errors and it returns the correct answer "December". The question didn't specify it should work for other months or what long names they would have so I'm expecting adding "ember" to the end is a good troll answer.
Apr 2, 2014 at 13:41 comment added user12205 Probably because, from the code-trolling tag wiki, "The task is to give code that works, but is useless, severely frustrating the OP. " Your code doesn't even work. Here, have another downvote.
Apr 2, 2014 at 12:06 history edited Sylwester CC BY-SA 3.0
added 16 characters in body
Apr 2, 2014 at 12:00 history answered Sylwester CC BY-SA 3.0