• UFO@programming.dev
    link
    fedilink
    arrow-up
    21
    ·
    1 year ago

    ISO-8601 only

    UTF-8 only

    UTC only

    Oh and more self hosting. Clouds are expensive and unnecessary for some stuff.

            • Pyro@lemmy.world
              link
              fedilink
              English
              arrow-up
              5
              ·
              1 year ago

              I think what they meant is requiring that only UTC time should be in the database. This prevents ambiguity when pulling dates/times out as with many poorly designed systems it’s not possible to know whether a date represents UTC time or local time.

              At my work we store local time in our database and I hate it. We only serve customers in our country, which only has one time zone, so that’s fine for now. But we’ve definitely made it harder for ourselves to expand if we ever wanted to.

        • UFO@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          That is a somewhat tongue in cheek comment. I think time zones are silly and people could easily account for the differences of what a particular time point means for them at their location. More realistically, UTC should be the only way a time stamp is stored.