deepjyoti30 / startpage

A minimal starpage for Chrome and Firefox
MIT License
625 stars 85 forks source link

Time is not correct. (GMT Timezone) #50

Closed j-koziel closed 2 years ago

j-koziel commented 2 years ago

The time here in the UK went an hour forward however this has not been adjusted in the start page. I've tried re-building multiple times but to no avail. Is there a way to fix this.

This is the time in the start page. image

This is the correct time. image

j-koziel commented 2 years ago

"title": "home", "searchEngine": "Google", "user": "Jonathan", "disableMessage": false, "disableDate": false, "disableSearchBar": false, "disable24Hour": false, "disableWeather": false, "timeZone": "GMT", "weatherConf": { "location": "London United Kingdom", "unit": "cel" }, "settingsIcon": false, "style": { "backgroundColor": "#282828", "messageColor": "#fbf1c7", "dateColor": "#ebdbb2", "lineColor": "#fbf1c7", "weatherColor": "#ebdbb2", "searchColor": "#fbf1c7", "searchBackgroundColor": "#3c3836", "squareColor": "#a89984", "squareBackgroundColor": "#3c3836", "autocompleteHighlightBackgroundColor": "#504945" }, "quickLinks": { "r": "https://reddit.com", "g": "https://github.com", "y": "https://youtube.com" } }

This is my config.json

deepjyoti30 commented 2 years ago

@j-koziel I just tried reproducing the issue locally with fail.

Here's what I did:

  1. Set the timeZone field in the config as GMT: Time showed up as 15:00.
  2. I then google GMT time right now and got the result as 15:00.

What am I missing here?

j-koziel commented 2 years ago

My config is set to GMT but I'm not getting the right time. I've tried rebuilding multiple times but it still doesn't work :(

j-koziel commented 2 years ago

Ok I've spotted the error. I'm using the wrong time zone :D. Sorry for the bother. I was supposed to use UTC+1