Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can´t select birthday - invalid date #840

Closed
outdoorbits opened this issue Jan 8, 2019 · 2 comments
Closed

Can´t select birthday - invalid date #840

outdoorbits opened this issue Jan 8, 2019 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@outdoorbits
Copy link

outdoorbits commented Jan 8, 2019

Hello,

Bug:
If I try to edit a date like bithday (new or change) by the date-selector I am always asked for a time. Trying to save that by gives "Invalid date" for january or a wrong date. 2018-12-05 22:30h gives me "Mo., 5. Nov. 2018 22:30"

The month is decremented by 1, january=1 becomes 0 and so it´s invalid.
Why does the selector ask for a time?

To Reproduce
Steps to reproduce the behavior:

Go to contacts
Edit a birthday of a contact by the selector

Expected behavior
Keep the month from the selector and don´t ask for a time of bith.

Thank you!

Server configuration

Operating system: Linux

Web server: Apache

Database: MariaDB

PHP version: 7.0

Nextcloud version: 15.0.0

Contacts version: 3.0.1

**Updated from an older Nextcloud

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
No errors have been found.

List of activated apps:

If you have access to your command line run e.g.:
Enabled:

accessibility: 1.1.0
activity: 2.8.2
auto_mail_accounts: 0.1.3
calendar: 1.6.4
cloud_federation_api: 0.1.0
comments: 1.5.0
contacts: 3.0.1
dav: 1.8.0
event_update_notification: 0.3.1
federatedfilesharing: 1.5.0
federation: 1.5.0
files: 1.10.0
files_antivirus: 2.0.0
files_pdfviewer: 1.4.0
files_sharing: 1.7.0
files_texteditor: 2.7.0
files_trashbin: 1.5.0
files_versions: 1.8.0
files_videoplayer: 1.4.0
firstrunwizard: 2.4.0
gallery: 18.2.0
logreader: 2.0.0
lookup_server_connector: 1.3.0
mail: 0.11.0
nextcloud_announcements: 1.4.0
notes: 2.5.1
notifications: 2.3.0
oauth2: 1.3.0
password_policy: 1.5.0
provisioning_api: 1.5.0
serverinfo: 1.5.0
sharebymail: 1.5.0
support: 1.0.0
survey_client: 1.3.0
systemtags: 1.5.0
tasks: 0.9.8
theming: 1.6.0
twofactor_backupcodes: 1.4.1
updatenotification: 1.5.0
workflowengine: 1.5.0
Disabled:
admin_audit
encryption
files_external
user_external
user_ldap

Nextcloud configuration:

{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"abc.de",
"nc.abc.de"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "https://nc.abc.de/",
"check_for_working_wellknown_setup": true,
"check_for_working_htaccess": true,
"htaccess.RewriteBase": "/",
"dbtype": "mysql",
"version": "15.0.0.10",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbtableprefix": "nc123_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"maintenance": false,
"loglevel": 0,
"logfile": "/var/www/nextcloud_extern/log/nextcloud.log",
"log_type": "owncloud",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_domain": "REMOVED SENSITIVE VALUE",
"theme": "",
"defaultapp": "apporder",
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 6379
},
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "25",
"updater.release.channel": "stable",
"auto_mail_accounts": {
"imap_host": "localhost",
"imap_port": "993",
"imap_ssl_mode": "none",
"smtp_host": "localhost",
"smtp_port": "465",
"smtp_ssl_mode": "none",
"email_address_suffix": "@abc.de"
}
}
}

Client configuration

Browser:
Firefox 60.4
Operating system:
Linux

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #794 (Birthday, Date of Death, Anniversary save wrong date), #795 (Birthday, Date of Death, Anniversary fields are date-time fields, but should only be date fields), #507 (Contact could not be saved if both birthday and date of birth given), and #815 (Search-function is case-sensitive ).

@nextcloud-bot nextcloud-bot added the bug Something isn't working label Jan 8, 2019
@skjnldsv
Copy link
Member

skjnldsv commented Jan 9, 2019

Duplicate of #794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants