Open TheWiresharkGuy opened 3 years ago
Hey, this seems a little buggy because it is hardcoded and independent on the date locale. The format that should work is YYYY-MM-DD HH:mm
. Example: 2021-10-10 14:11
So the time must be 24h based and PM / AM must be omitted.
Uhh, this is still broken, the backend doesn't understand 2021-10-10 14:11.
If someone wants to fix this, I'd be open for a PR. The backend expects the date range to be formatted like RFC3339, so the UI should only allow a static date range to be formatted in the RFC3339 format.
Thanks for the quick explanation!
No more UX error, but indeed GraphQL complains afterwards :/
@TheWiresharkGuy, I too struggled with this issue, the input really accepts only rfc3339 formated datetime - e.g. 2021-11-02T00:00:00Z
Hey, this seems a little buggy because it is hardcoded and independent on the date locale. The format that should work is
YYYY-MM-DD HH:mm
. Example: 2021-10-10 14:11So the time must be 24h based and PM / AM must be omitted.
It would be nice to add this to the documentation, once the UI of the front-end has been fixed.
I'm on 0.2.3@f31968c1 Currently rfc3339 format shows as invalid both in UI and in the logs, as does any other date format I've tried:
Relative dates work just fine.
Is it feasible to integrate a date picker UI? Just to make this process easier
I would like to submit a datepicker feauter if possible, although I believe the easy path would be just using a datepicker module from material-ui or something else to give the back-end what it wants.
Is it feasible to integrate a date picker UI? Just to make this process easier
Yes, but the first step would be to fix the bug. Afterward, we can think about improving the user experience.
Any news on when this will be fixed? I want to use Traggo but this kind of makes it useless for my needs.
Doesn't look like there has been a release since April 2022?
I've stumbled across the same problem today, it's not working in:
However a friend helped me out to at least get it working when having an editable time range in a dashboard, with the following format (same as discussed above, but also including milliseconds):
2023-01-01T00:00:00.000Z
Maybe this could help fixing the bug in the time parser?
a date picker would be greatly appreciated once this is resolved
Have you read the documentation?
You are setting up traggo in
Describe your problem Hi, I'd like to know what to type to define a static range? What is the correct way to specify a date?
I've tried to use the example in the doc and other date formats, but none of them seemed to work (see screenshot)
(from https://traggo.net/terminology/#static-range)
Thanks in advance!
Any errors, logs, or other information that might help us identify your problem
Ex:
docker-compose.yml
,nginx.conf
, browser requests, etc.