nextcloud / nextcloud/contacts

Not possible to type in a birth date

Open
#5,223 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: contacts
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:

  1. Go to 'contacts' app
  2. Click on 'new contact'
  3. Fill in mandatory fields
  4. Click on 'additional Information'
  5. Select 'Birthday'
  6. Enter a date before 1.1.1970
  7. Save contact
  8. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.