Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone data is missing in export from CAWS #228

Open
bardram opened this issue Feb 26, 2025 · 0 comments
Open

Timezone data is missing in export from CAWS #228

bardram opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@bardram
Copy link
Collaborator

bardram commented Feb 26, 2025

When exporting data from CAWS the timezone information is missing in the json data. A timezone measurement looks like this from CAWS:

  {
    "sequenceId": 1,
    "studyDeploymentId": "15c12adb-b6ce-408f-99a0-f54c944416d9",
    "deviceRoleName": "Primary Phone",
    "measurement": {
      "sensorStartTime": 1737381487894357,
      "data": {
        "__type": "dk.cachet.carp.timezone"
      }
    },
  ...
  },

But when uploaded, it looks like this:

{
  "sensorStartTime": 1737381487894357,
  "data": {
    "__type": "dk.cachet.carp.timezone",
    "timezone": "Europe/Copenhagen"
  }
}

Hence the timezone part is missing (note that this is the same measurement, based on the timestamp).

@bardram bardram added the bug Something isn't working label Feb 26, 2025
@bardram bardram changed the title Timezone data is missing Timezone data is missing in export from CAWS Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant