Contacts: [Vue] Birthdays are off by a month

Created on 29 Sep 2018  路  2Comments  路  Source: nextcloud/contacts

The birthday seems to be off by a month in v3.

Probably an off by 1 error as all are moved a month ;)

3. to review bug high regression

Most helpful comment

Probably an off by 1 error as all are moved a month ;)

Nope!
Today I learned that javascript starts the months at 0. BUT the days at 1, the years at 1, etc etc...
:man_facepalming:

All 2 comments

GitMate.io thinks possibly related issues are https://github.com/nextcloud/contacts/pull/596 (Contacts 3.0.0), https://github.com/nextcloud/contacts/issues/651 ([Vue] missing features on 3.0.0), https://github.com/nextcloud/contacts/issues/385 (Empty contacts list after upgrading 1.5.3 -> 2.0.1), https://github.com/nextcloud/contacts/issues/440 (All contacts deleted after upgrade NC from 11.0.3 to 12.0.3 and contacts 2.01), and https://github.com/nextcloud/contacts/issues/261 (Opt-out birthday calender auto-creation).

Probably an off by 1 error as all are moved a month ;)

Nope!
Today I learned that javascript starts the months at 0. BUT the days at 1, the years at 1, etc etc...
:man_facepalming:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RobertZenz picture RobertZenz  路  4Comments

caugner picture caugner  路  3Comments

stvogel picture stvogel  路  3Comments

Peque picture Peque  路  3Comments

michaelletzgus picture michaelletzgus  路  5Comments