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

Error message gets cut off when parsing a malformed date #24

Open
BALEHOK opened this issue May 4, 2022 · 0 comments
Open

Error message gets cut off when parsing a malformed date #24

BALEHOK opened this issue May 4, 2022 · 0 comments

Comments

@BALEHOK
Copy link

BALEHOK commented May 4, 2022

Describe the bug
Error message gets cut off when applying fromdate to an empty string

To Reproduce

  1. Set a filter "" | fromdate.
  2. Get the error with the message: %SZ".

The sandbox: https://codesandbox.io/s/exciting-curie-k6yccy?file=/src/index.js

Expected behavior
The error object should have a message describing the error, for example: Date "" does not match format "%Y-%m-%dT%H:%M:%SZ"

Environment
Google Chrome Version 100.0.4896.127 (Official Build) (x86_64)
jq-web v0.5.1

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