rfcx / arbimon-uploader

Desktop application for ingesting audio to RFCx platform
Apache License 2.0
0 stars 0 forks source link

Filename timezone setting not working as expected #174

Closed antonyharfield closed 1 year ago

antonyharfield commented 1 year ago

Issue description:

When uploading recordings to a site that does not match the detected deployment metadata the "AudioMoth configuration" option for the "Filename Timezone" setting does not function properly. Time of day assigned to recordings in Arbimon will be in UTC regardless of the AudioMoth configuration.

Maybe when ignoring the metadata for deployment site the Uploader is ignoring metadata for all later steps?

Steps to reproduce:

Use the Uploader to upload recordings with a timezone setting other than UTC (ie, UTC - 4) to a different site than the one to which it was deployed using the Companion App. Check the difference in "Recorded Time" and "Filename" in Arbimon.

Expected result:

The Uploader will detect/use the AudioMoth configuration timezone information when assigning the recorded time in Arbimon.

Actual result:

The Uploader is not detecting/using the AudioMoth configuration timezone and "Recorded Time" in Arbimon is offset from actual recorded time.

Additional details:

iOS Uploader

Impact on work:

It doesn’t block me, but it’s important


Reported by Kris Support request: https://rfcx.slack.com/archives/C03FD1WD02J/p1664895808136949

antonyharfield commented 1 year ago

Screenshot of same set of recordings uploaded to two different sites using the “AudioMoth configuration” option for “Filename Timezone”. Piramides is the site to which the AM was deployed, zero zero is the non-matching site. The AM was set to local time (UTC -4).

Image


Update by Kris

naluinui commented 1 year ago

TLTR:

I think Uploader has picked up the metadata correctly, but the recorded time in Arbimon always shows in local time. So it might be a bit confusing there!

Let's say you upload a file recorded at 18:07 (UTC-4) to the site that is located in the UTC timezone (site zero zero from the screenshot) so that the recorded time will be 22:07 (UTC+0) in Arbimon. I wonder if we add the timezone into the "Recorded time" will help make it clearer at all, For example, 2022-09-24 22:07:01 (UTC)