Skip to content

Loop does not provide a propper UTC offset to nightscout #2308

@haspden

Description

@haspden

Describe the bug
Loop does not provide any UTC offset value (or provides a UTC offset as 0) to the nightscout.
This is challenging for any application which uses nightscout to view from the uploaders perspective, and not the viewers perspective.

Attach an Issue Report
Tap the Loop settings icon on the bottom of the screen, then tap Issue Report and attach it to this ticket.

To Reproduce
Steps to reproduce the behavior:

  1. Upload any data to Nightscout via Loop
  2. View api output data /api/v1/entries.json/sgv
  3. Check UTCoffset value

Expected behaviorxq
A utcoffset value to represent the uploaders UTCoffset in minutes
"utcOffset": 120, where user is at UCT + 2hrs
"utcOffset": -60, where user at UCT - 1hrs

Screenshots

  {
    "_id": "6808d23bb781a985a30be5e2",
    "isCalibration": false,
    "type": "sgv",
    "device": "Dexcom G7 DXCM3T",
    "dateString": "2025-04-23T11:42:43.000Z",
    "direction": "FortyFiveUp",
    "sgv": 137,
    "date": 1745408563081.73,
    "trendRate": 1.1,
    "trend": 3,
    "utcOffset": 0,
    "sysTime": "2025-04-23T11:42:43.000Z",
    "mills": 1745408563000
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions