diff --git a/CHANGELOG.md b/CHANGELOG.md index fe259cc9b..a711f50f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,17 @@ # Arbimon Release Notes -## v3.0.54 - May XX, 2022 +## v3.0.55 - June XX, 2022 + +Resolved issues: + +- Fixed an issue with datetime format for lambda function + +## v3.0.54 - June 03, 2022 Resolved issues: - #991 Fixed an issue with export recordings tags +- Fixed the issue with deleting users from projects ## v3.0.53 - May 17, 2022 diff --git a/app/utils/upload-queue.js b/app/utils/upload-queue.js index 5f7bb130b..7a78dfbb7 100644 --- a/app/utils/upload-queue.js +++ b/app/utils/upload-queue.js @@ -96,7 +96,7 @@ module.exports = { // Convert datetime with timezone offsets for browser AudioMoth recordings // https://github.com/rfcx/arbimon/commit/efa1a487ce672ecf3d81c45470511e3f46a69305 if (upload.info && upload.info.isUTC) { - const datetimeLocal = timezone ? moment.tz(upload_row.datetime, timezone).format('YYYY-MM-DD HH:mm:ss') : null; + const datetimeLocal = timezone ? moment.tz(upload_row.datetime, timezone).toISOString() : null; upload_row.datetime = datetimeLocal? datetimeLocal : upload_row.datetime; } model.uploads.insertRecToList(upload_row, callback);