• KTVX94@lemmy.myserv.one
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Facts. The sorting system for files inevitably makes YYYY-MM-DD more optimal. I tried to resist but it doesn’t work.

  • words_number@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I really wonder how americans were able to fuck this one up. There are three ways to arrange these and two of them are acceptable!

    Edit: Yes, I meant common ways, not combinatorically possible ways.

  • uncertainty@lemmy.nz
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    To the commenters justifying the written form MM-DD-YYYY on the basis of preferring to say the name of the month followed by the day (which the written numerical sequence does not preclude you from doing). If someone were to say something like “the time is a quarter to eleven” do you think they would have a case for writing it 45:10? And if so, how would you deal with the ambiguity of “ten past ten” if they wrote it 10:10 instead of 10:10?

  • keeslinp@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    ISO dates are the goat because they string compare correctly. Just yesterday I shaved 2 full seconds off a page transition by removing a date parse in the middle of a hot sorting loop. Everything should use ISO in my opinion.

  • mkwarman@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I’m definitely in the “for almost everything” camp. It’s less ambiguous especially when you consider the DD/MM vs MM/DD nonsense between US dates vs elsewhere. Pretty much the only time I don’t use ISO-8601 is when I’m using non-numeric month names like when saying a date out loud.