Timeline for Enter year, date, and month in any order, I'll organize it
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Dec 20, 2015 at 15:54 | comment | added | Komi Golov | @IsmaelMiguel: Sorry, I must be misreading your comment then. It seemed like you were saying they put the month in the middle. | |
Dec 20, 2015 at 15:51 | comment | added | Ismael Miguel | @AntonGolov The only country with the dates all backwards: USA. | |
Dec 20, 2015 at 15:48 | comment | added | Komi Golov | @IsmaelMiguel: What country do you mean? | |
Dec 20, 2015 at 15:36 | history | edited | Edward | CC BY-SA 3.0 |
added note about partial leap year support
|
Dec 20, 2015 at 10:43 | comment | added | Ismael Miguel | @edc65 I know. But I was showing to someone that there indeed is a "common sane order". And showed which order was that. | |
Dec 20, 2015 at 10:33 | comment | added | edc65 | @IsmaelMiguel then use that format and all this function is pointless. The fact is: you cannot get a date in any format and guess what the date is. | |
Dec 20, 2015 at 8:00 | comment | added | Ismael Miguel |
@πάνταῥεῖ There is. It's called ISO 8601 .
|
|
Dec 19, 2015 at 23:15 | history | edited | Edward | CC BY-SA 3.0 |
added some newer points
|
Dec 19, 2015 at 23:09 | history | edited | Edward | CC BY-SA 3.0 |
added some newer points
|
Dec 19, 2015 at 23:05 | history | rollback | Edward |
Rollback to Revision 2
|
|
Dec 19, 2015 at 21:57 | history | edited | TheCoffeeCup | CC BY-SA 3.0 |
edited body
|
Dec 19, 2015 at 21:14 | comment | added | πάντα ῥεῖ | @isanae There's no common sane order, that's the major flaw of the OPs code. | |
Dec 19, 2015 at 21:08 | comment | added | isanae | I guess the title should be edited to "any sane order" then. | |
Dec 19, 2015 at 20:57 | comment | added | Edward | While I completely agree that it would be great to have a single format world wide, that's not quite the case today. So "any order" isn't really supported by the program, is it? | |
Dec 19, 2015 at 20:34 | comment | added | Ismael Miguel |
But 3 10 2010 is used only in a single country as having the month in the middle. The logic of that country is flawed, since you provided the date as month day year . I agree with the O.P. on this one.
|
|
Dec 19, 2015 at 20:22 | comment | added | Edward |
It could be better. No system puts the year in the middle, so a strategy of identifying the year by looking for the largest number would work in many cases and be an improvement over the current algorithm. One could also peek at the current locale for a hint.
|
|
Dec 19, 2015 at 20:08 | comment | added | isanae | "Use a better algorithm". It parses dates correctly for a majority of the world. I'd call that a good algorithm. | |
Dec 19, 2015 at 19:35 | history | edited | Edward | CC BY-SA 3.0 |
added clarification
|
Dec 19, 2015 at 19:24 | history | answered | Edward | CC BY-SA 3.0 |