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

Using relative dates in query #192

Open
jnko opened this issue Apr 3, 2024 · 0 comments
Open

Using relative dates in query #192

jnko opened this issue Apr 3, 2024 · 0 comments

Comments

@jnko
Copy link

jnko commented Apr 3, 2024

How can I query with relative dates instead of fixed ones?

Examples:

http://ipaddress:8087/query/stateID1,stateID2/?dateFrom=-2d
http://ipaddress:8087/query/stateID1,stateID2/?dateFrom=-1m
http://ipaddress:8087/query/stateID1,stateID2/?dateFrom=-4h
http://ipaddress:8087/query/stateID1,stateID2/?dateFrom=today

Perhaps this is already working but I wasn't able to find any information about it in this repo or in ioBroker forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants