adrianschofield / twitchuptime

A simple Uptime counter for your Twitch.tv stream
2 stars 4 forks source link

Twitch Uptime Starts from 1 hour #1

Open ziplague opened 7 years ago

ziplague commented 7 years ago

the i've been trying to figure out why and how, but failed. everytime i start the Stream, it shows 1:00:01 and so on, so starts counting from one hour alrady. is this on my end or can i fix it within the script? it shoes me streaming for 1 hour when i havent been streaming for 1 hour yet. hope i made it clear enough, i'm not great at explaining things.

adrianschofield commented 7 years ago

I think I fixed this but it may not be checked in to the repo, can you try downloading the latest version from http://unshapedadrian.co.uk/downloads/twitchuptime.zip and let me know if that fixes it?

ziplague commented 7 years ago

tried the latest version, still starts from 01:01:01

adrianschofield commented 7 years ago

Let me know what Timezone are you in and I'll take a look

ziplague commented 7 years ago

Sweden, so +1 gmt i presume

adrianschofield commented 7 years ago

OK I checked and the code is working fine so long as you have your time and your time zone in Windows set correctly. I just recreated the problem you are seeing by having the time zone set to UTC and the time set correctly. Currently I am UTC +1 because of daylight savings. Sweden should be UTC +2 including daylight savings