• Zannsolo@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    No UTC. Convert/use UTC on the way in and covert to local time for the user or local time of the noun the date is for in the display.

    • jabjoe
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Any UTC type is going to do native time and convert for display.

      But with native time directly, you can just an int64 with loads of space for fine resolution via multiplication.

      Storing time broken up into separate units is crazy.