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

Wrong data type conversion #25

Open
liu-wh opened this issue Nov 29, 2023 · 7 comments
Open

Wrong data type conversion #25

liu-wh opened this issue Nov 29, 2023 · 7 comments

Comments

@liu-wh
Copy link

liu-wh commented Nov 29, 2023

When I try to add value "@thlon.202!", It will be forced to render as a date type, but it is a string
image
Version : 1.8.3

@jaywcjlove
Copy link
Member

@liu-wh Please provide an example where you can reproduce the error -> https://codesandbox.io/p/sandbox/determined-framework-l44s2d?utm_source=dotnew&file=%2Fsrc%2FApp.js

@liu-wh
Copy link
Author

liu-wh commented Nov 29, 2023

@jaywcjlove sorry, please use this link to test link

@jaywcjlove
Copy link
Member

image

Oh...

jaywcjlove added a commit that referenced this issue Nov 29, 2023
jaywcjlove added a commit that referenced this issue Nov 29, 2023
github-actions bot pushed a commit that referenced this issue Nov 29, 2023
@jaywcjlove
Copy link
Member

@liu-wh Upgrade v1.12.2

@liu-wh
Copy link
Author

liu-wh commented Dec 4, 2023

@liu-wh Upgrade v1.12.2
v1.12.2 s ok, thanks

@MaeenBadea
Copy link

MaeenBadea commented Jan 7, 2024

The issue still exists with v1.12.2

The bug is reproducible with "\S+:\d{3,4}" so something like "some_text:9000" or"some_text:900" will return a date object with the year 9000 instead of the given text.

@jaywcjlove
Copy link
Member

@MaeenBadea I didn't think of a good solution.

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

No branches or pull requests

3 participants