• @nesc@lemmy.cafe
    link
    fedilink
    English
    552 months ago

    This pyramid visualisation doesn’t work for me, unless you read time starting with seconds.

    • @Mirodir@discuss.tchncs.de
      link
      fedilink
      322 months ago

      A pyramid is built bottom to top, not top to bottom. That’s also one of the strengths of the ISO format. You can add/remove layers for arbitrary granularity and still have a valid date.

      • Zagorath
        link
        fedilink
        English
        312 months ago

        Yeah, but people read top to bottom. The best way to do it would be to have upside down pyramids. With the biggest blocks at the top representing the biggest unit of time (YYYY) and the smallest blocks at the bottom representing seconds & smaller.

    • LenaOP
      link
      fedilink
      English
      17
      edit-2
      2 months ago

      2025-01-26-11-40-20

      • @nesc@lemmy.cafe
        link
        fedilink
        English
        282 months ago

        I get it, just pyramids are misleading, also year-month-day is better because resulting number always grows. 😺

          • Zagorath
            link
            fedilink
            English
            12 months ago

            I mean 11:40:20 in what NodaTime would call a “LocalDateTime”. i.e., irrespective of the time zone.

            (And incidentally, if you’re working in C# I strongly recommend the NodaTime library. And even if you’re not, I strongly recommend watching the lectures about dates and times by the NodaTime developer, who demonstrates a way of thinking about dates and times that is so much more thoughtful than what most standard libraries allow for without very careful attention paid by the programmer.)