NativeScript / NativeScript/plugins

[datepicker-android] Selecting any day before 1970 reduces the date by one day

未关闭
#239 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
206
派生
123
平均合并
2 天 1 小时
30 天内合并 PR
1

描述

Hi

There is an issue with the datetimepicker plugin with Android.

Selecting a date before 1970 will always result in the selected date being 1 day lower than what was inputted. e.g. selecting 5 Jan 1967, will lead to 4 Jan 1967. Anything past 1970 will select the correct date.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 datepicker-android 插件,并使用 1970 年之前的日期(例如 1967 年 1 月 5 日)重现该问题。跟踪所选日期在 Android 上是如何转换并返回的。完成标准是:1970 年之前的日期能够原样返回,而 1970 年之后的日期继续正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, typescript
领域
mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。