calendar
calendar copied to clipboard
CREATED, DTSTAMP, LAST-MODIFIED not stored as UTC
Steps to reproduce
Create a new event Save the calendar in a file Open the file and check LAST-MODIFIED field Expected behaviour
LAST-MODIFIED field should contains the tz information something like: 20060102T150405Z
Actual behaviour
LAST-MODIFIED is stored without tz information something like: 20060102T150405
Server configuration
Operating system: Ubuntu 16.04
Web server: apache
Database: mysql
PHP version: 7.0
ownCloud version: (see ownCloud admin page) ownCloud 9.1.0 (stable)
Tasks version: (see ownCloud apps page) Calendar 1.3.1
Updated from an older ownCloud or fresh install: fresh install
Signing status (ownCloud 9.0 and above): No errors have been found.
List of activated apps: Enabled:
activity: 2.3.2 calendar: 1.3.1 comments: 0.3.0 contacts: 1.3.1.0 dav: 0.2.5 encryption: 1.3.0 federatedfilesharing: 0.3.0 federation: 0.1.0 files: 1.5.1 files_pdfviewer: 0.8.1 files_sharing: 0.10.0 files_texteditor: 2.1 files_trashbin: 0.9.0 files_versions: 1.3.0 files_videoplayer: 0.9.8 firstrunwizard: 1.1 gallery: 15.0.0 notifications: 0.3.0 provisioning_api: 0.5.0 systemtags: 0.3.0 templateeditor: 0.1 updatenotification: 0.2.1 Disabled: external files_antivirus files_external user_external user_ldap The content of config/config.php:
{ "system": { "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "localhost", "192.168.1.123" ], "datadirectory": "/home/ocdata", "overwrite.cli.url": "http://localhost", "dbtype": "mysql", "version": "9.1.0.15", "dbname": "owncloud", "dbhost": "localhost", "dbtableprefix": "oc_", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "logtimezone": "UTC", "installed": true, "instanceid": "oc56vcdmfuw8" } }
Are you using external storage, if yes which one: local/smb/sftp/... NO
Are you using encryption: yes/no NO
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... NO
Client configuration
Browser: firefox
Operating system: Ubuntu 16.04
CalDAV-clients: syncevolution
LAST-MODIFIED is not getting updated after edit an event.
It works nice on OwnDrive 8.2.2 (stable). Looks like it was a regression on vr 9.0
Okay, this issue should be splitted into two issues. The first is the wrong format, which looks a lot like an upstream issue The second is the missing update of the Last modified property
also applies to CREATED
and DTSTAMP
In my opinion ical.js should take care of storing them as UTC
filed a bug upstream: https://github.com/mozilla-comm/ical.js/issues/260