Giter Site home page Giter Site logo

Comments (4)

crustymonkey avatar crustymonkey commented on July 17, 2024

I'll take a look at this over the weekend. As far as getting rid of _ts2milli, I'd much rather fix it. I'd rather not adhere to Java's "everything in milliseconds" bullshit. It's an anti-convention and I'd rather have an API that adhere's to actual conventions rather than stupid, made up crap like Java does. I will gladly fix issues, but never in a million years will I go the lazy route of just using the Java "convention". Unix time is number of seconds since the epoch, not milliseconds since the epoch.

from py-sonic.

crustymonkey avatar crustymonkey commented on July 17, 2024

basilfx: I want to make it clear that I do appreciate your raising of this issue, and none of the vehemence in that previous comment is directed at you in any way. I just really hate Java.

from py-sonic.

basilfx avatar basilfx commented on July 17, 2024

Thanks for looking into this :-)

from py-sonic.

crustymonkey avatar crustymonkey commented on July 17, 2024

basilfx: I've got a fix in, currently on the subs_53 branch, that just translates the return value to a proper unix timestamp. Feel free to grab that branch and play with it if you would like. It's lumped in with some API updates to correspond with the subsonic 5.3 release. Once I get the rest of the changes tested, I'll roll all this into master and do a proper release.

from py-sonic.

Related Issues (18)

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.