Giter Site home page Giter Site logo

Comments (4)

tchar avatar tchar commented on June 11, 2024 1

Ah I see so you need the unix timestamp in whatever units.
Let me think if this is easy to implement.

The reason is because the time command does not use the converter (which uses pint) so it has to be implemented using text parsing or by calling the converted from within the Time Handler.

An easy solution could be to parse the query and if it is such a conversion.

  • Find the unix timestamp in seconds
  • Convert it to whatever time units

Generally these days I don't have much time, but I welcome anyone who wants to help implementing this.

from ulauncher-albert-calculate-anything.

tchar avatar tchar commented on June 11, 2024

Hello @guillaumevauvert-datadome,

I am trying to understand what is the feature request.

So let's assume that time is November 25, 2021 00:00 then time + 1 hour will give you November 25, 2021 01:00 right?
How do you want to convert this to miliseconds?

Is this a question to convert 1 hour to miliseconds or literaly convert November 25, 2021 01:00 to milliseconds. And if so what would that value be?

Cheers

  • tchar

from ulauncher-albert-calculate-anything.

guillaumevauvert-datadome avatar guillaumevauvert-datadome commented on June 11, 2024

Hello @tchar ,
As a software engineer, we often need to convert current date-time to number of millis since 1-1-1970.
https://currentmillis.com/ provides some explanations around that.
Regards

from ulauncher-albert-calculate-anything.

github-actions avatar github-actions commented on June 11, 2024

Issue has been marked as stale due to no activity

from ulauncher-albert-calculate-anything.

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.