GithubHelp home page GithubHelp logo

Dates: TAI64, TAI or UTC? about biscuit HOT 2 CLOSED

arnsholt avatar arnsholt commented on September 1, 2024
Dates: TAI64, TAI or UTC?

from biscuit.

Comments (2)

Geal avatar Geal commented on September 1, 2024 1

right, I think what happened here is that I intended to use TAI64 (I recall some discussions around it early in spec development), but for all implementations we went with Unix timestamps. I just checked, and Rust, Java, Go and Haskell all use it, so we should update the spec to indicate a Unix timestamp

from biscuit.

arnsholt avatar arnsholt commented on September 1, 2024

Yeah, that happens. But if it's a timestamp maybe the proto schema type should also change to an int64 rather than a uint? I mean, not being able to represent dates prior to 1970 is probably fine practically, given the typical uses of a biscuit, but it still feels incomplete. And given a signed 64 bit signed int and second resolution, the furthest date into the future that can be represented is still almost 300 billion years ahead, which really should be enough for everyone.

from biscuit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.