Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorthand for time values #28

Open
VulumeCode opened this issue May 26, 2023 · 1 comment
Open

Shorthand for time values #28

VulumeCode opened this issue May 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@VulumeCode
Copy link

Using time in calculations is hard.

In stead of (19 h + 53 mins) - (16 h + 57 mins) or date(1/Jan/0 19:53) - date(1/Jan/0 16:57) I would like to be able to write something more intuitive like 19h53 - 16h57 or time(19:53) - time(16:57).

The former could be extended to something like 1y2M3d4h5m6s. Even though months and years can vary in length, Math.js has fixed values for them in timespan conversions.

It would also be useful to allow this notation in results.

@VulumeCode
Copy link
Author

More inspiration in the desktop qalc docs https://qalculate.github.io/manual/qalc.html

@nortakales nortakales added the enhancement New feature or request label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants