phaidra / phaidra-api

RESTish API to Phaidra
Apache License 2.0
6 stars 4 forks source link

Upload_date uwmetadata field should be UTC #63

Closed giulioturetta closed 2 years ago

giulioturetta commented 2 years ago

When uploading an object the upload_date uwmetadata field is automatically filled in, but it seems the timestamp is in the system (i.e. where Phaidra API is installed) local time instead of UTC.

Old Phaidra frontend always saves upload_date value as UTC.

giulioturetta commented 2 years ago

Fixed, https://github.com/phaidra/phaidra-api/commit/9cd5e444a443dbe253abcf8adace99bb0bd740be.