calendar icon indicating copy to clipboard operation
calendar copied to clipboard

CREATED, DTSTAMP, LAST-MODIFIED not stored as UTC

Open renatofilho opened this issue 7 years ago • 6 comments

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

renatofilho avatar Aug 01 '16 14:08 renatofilho

LAST-MODIFIED is not getting updated after edit an event.

renatofilho avatar Aug 01 '16 14:08 renatofilho

It works nice on OwnDrive 8.2.2 (stable). Looks like it was a regression on vr 9.0

renatofilho avatar Aug 01 '16 15:08 renatofilho

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

georgehrke avatar Aug 02 '16 08:08 georgehrke

also applies to CREATED and DTSTAMP

georgehrke avatar Aug 04 '16 09:08 georgehrke

In my opinion ical.js should take care of storing them as UTC

georgehrke avatar Aug 04 '16 09:08 georgehrke

filed a bug upstream: https://github.com/mozilla-comm/ical.js/issues/260

georgehrke avatar Aug 04 '16 10:08 georgehrke