Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-04-18 11:44:06

Andrewclive
Member
Registered: 2019-04-18
Posts: 5

xfce panel weather-plugin time/icon problem

Dear all,
I have a problem with the xfce weather plugin. I am in Japan and the time is 9 hours ahead of UTC. The weather panel applet shows the moon when it is daylight in Japan, but night at UTC time. The reverse is also true. I have an arch xfce install and a manjaro install that have the same problem. As far as I can tell all my time settings are correct. My locale is set to UK.
Thank you in advance for your help.

Offline

#2 2019-04-19 10:07:23

Andrewclive
Member
Registered: 2019-04-18
Posts: 5

Re: xfce panel weather-plugin time/icon problem

I have MxLinux on a laptop and have the exact same problem.

Offline

#3 2019-04-19 11:35:19

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,377

Re: xfce panel weather-plugin time/icon problem

Which version of the plugin are you running?

Offline

#4 2019-04-19 18:57:21

Andrewclive
Member
Registered: 2019-04-18
Posts: 5

Re: xfce panel weather-plugin time/icon problem

xfce4-weather-plugin 0.8.11

Offline

#5 2019-04-19 20:29:58

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,377

Re: xfce panel weather-plugin time/icon problem

Can you try the git version from the AUR?

If the problem is the same, you should probably create a bug report.

Offline

#6 2019-04-19 23:29:10

Andrewclive
Member
Registered: 2019-04-18
Posts: 5

Re: xfce panel weather-plugin time/icon problem

Thank you for the reply. I tried the git version and still have the same problem. I'll submit a bug report. Thank you for your help.

Offline

#7 2019-04-20 08:24:32

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 513
Website

Re: xfce panel weather-plugin time/icon problem

Andrewclive wrote:

Dear all,
I have a problem with the xfce weather plugin. I am in Japan and the time is 9 hours ahead of UTC.
My locale is set to UK.

You may need to set the locale to Japan unless there is an option to set the locale in the plugin.

Offline

#8 2019-04-20 10:08:51

Andrewclive
Member
Registered: 2019-04-18
Posts: 5

Re: xfce panel weather-plugin time/icon problem

Thanks ozjd. I was thinking that, but which part of the locale settings? I would have thought the plugin would be set according to timezone or maybe long/latitude.  My timezone is set correctly in the plugin. It shows the time as of now as 19.00 - night in Japan, but the icon is still a sun.

Offline

#9 2019-04-21 05:48:50

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 513
Website

Re: xfce panel weather-plugin time/icon problem

I would include that in your bug report. It appears the icon is set according to the system locale and not what is set in the plugin.

Offline

#10 2019-05-05 08:02:33

annoying_daniel
Member
Registered: 2017-01-02
Posts: 11

Re: xfce panel weather-plugin time/icon problem

Just logged to say that I'm seeing the same behavior on my end. v0.8.11-1. Tried re-adding the plugin to the panel, found my location, still sun icons at night neutral
Locale are all en-US units and

timedatectl

reports Chicago timezone, ntpd enabled, and rtc in utc. Not sure what else to say. I think it started displaying the wrong icons ~1-2 weeks ago...could the plugin be displaying icons based from rtc instead of local time? I'll have to check more carefully when the icons switches over next time...

btw I'm also on Manjaro.

Last edited by annoying_daniel (2019-05-05 08:07:43)

Offline

#11 2019-05-05 10:08:20

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,377

Re: xfce panel weather-plugin time/icon problem

See: https://bugzilla.xfce.org/show_bug.cgi?id=15308. Feel free to add your comments to the bug report to bring attention to it.

Offline

#12 2019-05-05 23:14:00

annoying_daniel
Member
Registered: 2017-01-02
Posts: 11

Re: xfce panel weather-plugin time/icon problem

Ok I just logged in to my system here at 18:00 local. The sun sets at around 20:20 but I'm already seeing the moon icon. UTC is currently 23:06 so I really suspect that the plugin is using sunset data from local time and displaying it based off of UTC. Unfortunately I wasn't around the last couple of hours but I'll set my alarm for "sunrise" -- scheduled at "05:55", so I'll be checking at 00:55 local.

Last edited by annoying_daniel (2019-05-05 23:14:09)

Offline

#13 2019-05-06 06:23:17

annoying_daniel
Member
Registered: 2017-01-02
Posts: 11

Re: xfce panel weather-plugin time/icon problem

Ok I got an update, looks like I was correct about UTC. I waited until an auto-update and that turned my location to "cloudy" unfortunately but I simply changed the location to Chicago and got a sun icon. Until now I had a moon so pretty sure it's pulling in UTC versus local time.

Offline

Board footer

Powered by FluxBB