Comments (4)
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.
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.
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.
Issue has been marked as stale due to no activity
from ulauncher-albert-calculate-anything.
Related Issues (20)
- Currency conversion showing only 1 icon HOT 6
- [bug] Extension crashed after updating and saving new settings and then crashes instantly on reload HOT 12
- Cannot install the extension HOT 2
- Proxy support [feature] HOT 2
- [feature] Enhance time with specific time/date and timezone conversion HOT 2
- Not working HOT 2
- [bug] HOT 4
- [bug] HOT 6
- [bug] zombie process HOT 9
- An option to make outbound calls on-demand (or disable it totally) HOT 4
- [feature] Use the word "in" as alias for "to" in conversions HOT 6
- [bug] Crashed on Ulauncher 5.14.4 HOT 4
- [bug] Calculation error sin(2*pi) HOT 2
- [bug] Crashed on Ulauncher 5.14.7 HOT 2
- Extension stopped converting: 'currency' is not defined in the unit registry HOT 16
- [bug] If pint is not installed, suggest user restarts ulauncher after install HOT 10
- [bug]Need update on plugin as per the new version of Albert 0.18.10 HOT 2
- Nothing but math is working HOT 13
- [feature] Timestamp calculation (not from today) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulauncher-albert-calculate-anything.