tomatoes-app / tomatoes

Pomodoro Technique® online time tracker
http://www.tomato.es
MIT License
349 stars 92 forks source link

Tomatoes displayed in incorrect time zone #312

Closed gabrielkrell closed 5 years ago

gabrielkrell commented 5 years ago

Here's a newly-created tomato. The time displayed is an hour off:

image

/api/tomatoes/<id> yields the correct UTC time, so this is a problem later on:

{
  "id": "5cf71c35b54f560006264505",
  "created_at": "2019-06-05T01:34:45.119Z",
  "updated_at": "2019-06-05T01:34:45.119Z",
  "tags": [
    "fake tomato"
  ]
}

image

Might be related to #8; I haven't had time to look into code yet.

gabrielkrell commented 5 years ago

I'm pretty sure this is a duplicate of #8, but after setting my time zone in my profile, this problem disappears.