minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
pooky55@lemm.ee to Programmer Humor@lemmy.ml · 9 months ago

What is your idea of perfect date?

lemm.ee

message-square
27
fedilink
88

What is your idea of perfect date?

lemm.ee

pooky55@lemm.ee to Programmer Humor@lemmy.ml · 9 months ago
message-square
27
fedilink
alert-triangle
You must log in or # to comment.
  • chi-chan~@lemmy.world
    link
    fedilink
    arrow-up
    102
    ·
    9 months ago

    yyyy-mm-dd and confusion no more.

    • batcheck@lemmy.world
      link
      fedilink
      arrow-up
      44
      ·
      9 months ago

      This. On top of being obvious at a glance, your file names and folder names sort nicely if use this format.

    • snooggums@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      9 months ago

      Until Y10k rears its ugly head.

      • WhyDoYouPersist@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 months ago

        Why is no one talking about this??? Ostriches in the sand…

  • Gamma@beehaw.org
    link
    fedilink
    English
    arrow-up
    34
    ·
    9 months ago

    Good taste, YYYY-MM-DD is obviously superior

    • lugal@sopuli.xyz
      link
      fedilink
      arrow-up
      8
      ·
      9 months ago

      I too agree with the woman

  • davel [he/him]@lemmy.ml
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    2
    ·
    9 months ago

    ISO-8601 / RFC-3339 is clearly superior, but at least DD/MM/YYYY has a rational ordering, unlike MM/DD/YYYY.

    • thejoker954@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Dont know if it’s true or not, but I always assumed it was because the numbers get bigger left to right. Only 12 months, 30ish days, thousands of years.

      • davel [he/him]@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        ·
        9 months ago

        My guess is it’s because that’s the order in which we usually say dates in English: September twentieth, twenty-twenty-four.

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      9 months ago

      I, too, am an 8601 enthusiast. Stupid America means we need to go y-m-d for date ordering to not be ambiguous.

  • gravitas_deficiency@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    14
    ·
    9 months ago

    Why do some people insist on doing big-endian dates? Little-endian (YYYY-MM-DD) is trivially alphanumerically sortable. Also, it’s part of the goddamn ISO standard for standardized date format.

    • Atelopus-zeteki@fedia.io
      link
      fedilink
      arrow-up
      6
      ·
      9 months ago

      Which is why the guy in the comic will “die single”.

    • willismcpherson@fedia.io
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      You’ve got your endians mixed up. Big-endian means the most significant value comes first. ISO8601 is big-endian.

  • RedWeasel@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    5
    ·
    9 months ago

    The perfect date is YYYY/MM/DD. US and every where else conflict with DD/MM/YYYY & MM/DD/YYYY.

    • deegeese@sopuli.xyz
      link
      fedilink
      arrow-up
      29
      ·
      9 months ago

      Path separators in my date strings? Hell no!

      • Zachariah@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        Sanitize your inputs. Become delimiter agnostic!

        • deegeese@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          9 months ago

          I control the date format, why would I choose something that requires additional logic to handle?

          • Zachariah@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            RedWeasel loaded slashes into your stream today though.

            • deegeese@sopuli.xyz
              link
              fedilink
              arrow-up
              1
              ·
              9 months ago

              This is a discussion about choice of date format, not choice of date parser.

  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 months ago

    Unix epoch time. It has a cool name and I get to pretend its a Star Date.

    • deegeese@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Are we on schedule to solve the 2038 problem in time?

  • SlopppyEngineer@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    9 months ago

  • Cyborganism@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    9 months ago

    ISO 8601

  • minibyte@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    ·
    9 months ago

    yyyy.MM.dd

  • SSTF@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    9 months ago

    09/12_20/30_2024/inf

    • gravitas_deficiency@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      9 months ago

      lol this is so cursed, I love it.

      Now include time, with tz offsets

  • davel [he/him]@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago

    Requisite Miss Congeniality bit.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 723 users / day
  • 723 users / week
  • 915 users / month
  • 3.62K users / 6 months
  • 2 local subscribers
  • 36.2K subscribers
  • 1.73K Posts
  • 35.8K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org