nextcloud / nextcloud/contacts
Not possible to type in a birth date
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Describe the bug
When I enter a date before 1.1.1970 for the birth date it is not accepted but changed to the current date.
Steps to reproduce
I hope my translations to English are correct:
- Go to 'contacts' app
- Click on 'new contact'
- Fill in mandatory fields
- Click on 'additional Information'
- Select 'Birthday'
- Enter a date before 1.1.1970
- Save contact
- Have a look at contacts field 'Birthday'
If you add a contact with a birthday before 1.1.1970 via Gnomes contacts app and sync, the contact is shown in Nextclouds 'contacts' app with the correct birthdate, but the birthday does not show up in the 'calendar' app.
Expected behavior
Birtdate before 1.1.1970 should be accepted
Actual behavior
Birtdate before 1.1.1970 is not accepted, but automatically changed to today
Contact version
8.3.6
Operating system
Firefox on bazzite
PHP engine version
None
Web server
None
Database
None
Additional info
My nextcloud instance is a managed instance by hetzner
Version: Nextcloud Hub 25 autumn
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 reproducing the issue in the contacts app through New contact > Additional Information > Birthday, using a date before 1.1.1970, and compare the saved value with the displayed value. Check the related calendar-app behavior for birthdays synced from GNOME Contacts. Done means pre-1970 birthdays are saved and displayed correctly in Contacts and appear correctly in Calendar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100