NativeScript / NativeScript/plugins
[datepicker-android] Selecting any day before 1970 reduces the date by one day
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the datepicker-android plugin and reproducing the issue with a date before 1970, such as 5 January 1967. Trace how the selected date is converted and returned on Android. Done means dates before 1970 are returned unchanged while dates after 1970 continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100