-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: Doesn't // Match any prop that ends with "date" or "Date".
#24120
Comments
@manavm1990 thanks for opening this and digging into the source already. Since you already did the investigation, would you also like to open a PR with a fix? We'd really appreciate that! |
@manavm1990 have you completed this and made PR? |
Sorry. I have not. I m on vacation until Monday. Feel free to do it, or else I will check it then @arup1221 |
@manavm1990 Sir can I make a pr on this? |
Yes. Please! |
…24120 Description: - Resolved the bug reported in issue storybookjs#24120, where the regular expression `/Date$/` wasn't matching properties that end with "date" or "Date" due to case sensitivity. - Changed the regular expression to `/Date$/i` in the configuration file to make it case-insensitive, allowing it to match both "Date" and "date." Issue: storybookjs#24120
Nice @arup1221 ⏳ |
Describe the bug
In
preview.ts
, you have:date: /Date$/,
. 🙅🏾♀️ It's missing ani
at the end. so it's only gettingDate
, and notdate
.Just replace the code here with:
/Date$/i
. That is all. ✔️To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: