Giter Site home page Giter Site logo

Night Time icons shown only about gis-weather HOT 9 CLOSED

ringov avatar ringov commented on August 22, 2024
Night Time icons shown only

from gis-weather.

Comments (9)

RingOV avatar RingOV commented on August 22, 2024

Hi,

Is there some tweak I can do in the code?

You mean pull request?

from gis-weather.

rosoau avatar rosoau commented on August 22, 2024

yes please make this a pull request.
From this end it may mean as little as replacing
/usr/share/gis-weather/gis-weather.py
with the new version
I had a look at the differences of 0.8.2.5 and now with meld
but don't understand enough. Something to do with
choosing day or night icons according to our local time

from gis-weather.

rosoau avatar rosoau commented on August 22, 2024

This screen-shot
gis-weather py_001
is at 6 AM still night here in NSW Australia
All icons are night icons (V-Cloud [my compliments to the artist!])
I'll post the next image during the day

from gis-weather.

rosoau avatar rosoau commented on August 22, 2024

Now it is daytime here 9 AM and we see a mixup in the "Today" block:
night = +10 day = 0
this cannot be right
There is only one daytime icon for night and all the rest is still night
gis-weather py_002

from gis-weather.

RingOV avatar RingOV commented on August 22, 2024

I try Rylstone and saw same problem. May be problem in time zone. I try fix it.

from gis-weather.

rosoau avatar rosoau commented on August 22, 2024

That would be good as it is the very best weather widget I know.
The mix up in the today block may be the difference between
local and UTC time and the hardware clock versus system clock
I use local time for both; so system time is relevant

from gis-weather.

RingOV avatar RingOV commented on August 22, 2024

Try 0.8.3.5.
Fixed problem with time zone fcbde15. Need testing.

from gis-weather.

rosoau avatar rosoau commented on August 22, 2024

Thanks Developer.
Today block now shows: Morning +2 Day + 7 and Evening - 1 which is proper
Evening has night icon; all others have day icons. which is proper
All forecasts have day icons. which is proper
Now-block still has night icon at 8 AM but shows the right temperature - 6
I'll check in a couple of hours if that icon changes to day icon and let you know

from gis-weather.

rosoau avatar rosoau commented on August 22, 2024

OK well done !!
Now 10:20 AM it shows a daytime icon in the now block;
and a good one on a freezing winter's morning

Thanks again.
regards Rolf
gis-weather py_005

from gis-weather.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.