Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Timezone offset in UI #1038

Closed
bobrik opened this issue Jan 19, 2015 · 2 comments
Closed

Timezone offset in UI #1038

bobrik opened this issue Jan 19, 2015 · 2 comments
Milestone

Comments

@bobrik
Copy link
Contributor

bobrik commented Jan 19, 2015

In /v2/tasks api:

    {
      "appId": "/topface/prod-test/app",
      "id": "topface_prod-test_app.e6c6c92a-9fbd-11e4-b3e6-56847afe9799",
      "host": "web309",
      "ports": [
        31307
      ],
      "startedAt": "2015-01-19T09:33:43.770Z",
      "stagedAt": "2015-01-19T09:31:09.738Z",
      "version": "2015-01-19T09:30:03.738Z",
      "servicePorts": [
        14000
      ],
      "healthCheckResults": [
        {
          "taskId": "topface_prod-test_app.e6c6c92a-9fbd-11e4-b3e6-56847afe9799",
          "firstSuccess": "2015-01-19T09:33:45.460Z",
          "lastSuccess": "2015-01-19T09:34:11.721Z",
          "lastFailure": null,
          "consecutiveFailures": 0,
          "alive": true
        }
      ]
    }

In UI:

screen shot 2015-01-19 at 12 37 50

JS timezone offset from firefox 35 console:

12:35:14.197 new Date().getTimezoneOffset();
12:35:14.200 -180

I'm in Europe/Moscow, UTC+3. It was UTC+4 some time ago.

@aldipower
Copy link
Contributor

The UI uses the updatedAt-field, which isn't reflected in this JSON I can see here.
Maybe the updatedAt differs in some case and lead to confusion.
In order we had a bigger refactoring of Marathon UI in the meantime and I can't reproduces this issue, I will close this now.
If you provide newer information with current UI version, we can reopen this of course.

@bobrik
Copy link
Contributor Author

bobrik commented Aug 6, 2015

Well, I physically change my timezone twice and now I don't see this issue.

@d2iq-archive d2iq-archive locked and limited conversation to collaborators Mar 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants