-
Notifications
You must be signed in to change notification settings - Fork 835
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
fix(calendarcard): 修复ios端设置disableDay不生效问题 #3122
Conversation
Walkthrough此次变更更新了两个文件中的 Changes
Poem
Tip Early access features: enabledWe are currently testing the following features in early access:
Note:
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v4 #3122 +/- ##
=======================================
Coverage 84.03% 84.03%
=======================================
Files 226 226
Lines 22939 22941 +2
Branches 2481 2487 +6
=======================================
+ Hits 19277 19279 +2
Misses 3644 3644
Partials 18 18 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- packages/nutui-taro-demo/src/dentry/pages/calendarcard/disable.vue (1 hunks)
- src/packages/__VUE/calendarcard/demo/disable.vue (1 hunks)
Files skipped from review due to trivial changes (1)
- packages/nutui-taro-demo/src/dentry/pages/calendarcard/disable.vue
Additional comments not posted (1)
src/packages/__VUE/calendarcard/demo/disable.vue (1)
12-12
: 修复日期格式问题更改日期格式从使用连字符(
-
)到使用正斜杠(/
)的修改是为了修复在iOS设备上disableDay
设置不生效的问题。这是因为在不同的浏览器和操作系统中,Date
对象的构造函数对日期字符串的解析方式可能有所不同。使用正斜杠(/
)可以确保在iOS设备上正确解析日期。
#3121
Summary by CodeRabbit
CalendarCard
组件中日期格式的错误,现在使用正斜杠/
而不是连字符-
来构造日期对象。