NativeScript / NativeScript/plugins
[@nativescript/datetimepicker] Bug in datetimepicker callback showing false date
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 206
- 派生
- 123
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 1
描述
Issue Summary:
The DateTimePicker in Android is exhibiting unexpected behavior when selecting a date in February. The callback is returning a date in the following month instead of the selected date.
Steps to Reproduce:
- Open the app. https://stackblitz.com/edit/nativescript-stackblitz-templates-knotdp?file=src%2Fapp%2Fitem%2Fitems.component.ts
- Click on the start date to open the DateTimePicker.
- Select any date in February.
Expected Behavior:
The callback should return the selected date accurately.
Actual Behavior:
The callback returns a date in the next month instead of the selected date.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 src/app/item/items.component.ts 中的 StackBlitz 复现开始,针对二月的日期复现 Android DateTimePicker 回调问题。从该入口点跟踪 datetimepicker 回调,并验证回调返回所选日期而不是下个月时能够完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100