That suggestion to take the -alt out doesn't work here in the Southern
hemisphere.
I will just use the light theme.
On Sunday, 13 September 2020 18:12:13 UTC+10, Didier Decoodt wrote:
>
> Hi
>
> I have solved this problem by deleting "-alt" in belchertown.js.tmpl on
> lines:
>
> // Moon icon, phase and illumination percent
> switch ( data["almanac"]["moon"]["moon_index"] ) {
> case "0":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-new'></div>"
> );
> break;
> case "1":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-waxing-crescent-3
> $hemisphere'></div>" );
> break;
> case "2":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-first-quarter
> $hemisphere'></div>" );
> break;
> case "3":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-waxing-gibbous-3
> $hemisphere'></div>" );
> break;
> case "4":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-full'></div>"
> );
> break;
> case "5":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-waning-gibbous-3
> $hemisphere'></div>" );
> break;
> case "6":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-third-quarter
> $hemisphere'></div>" );
> break;
> case "7":
> jQuery(".moon-icon").html( "<div class='wi
> wi-moon-alt-waning-crescent-4
> $hemisphere'></div>" );
> break;
>
> ddperso
>
> Le dim. 13 sept. 2020 à 08:29, Greg from Oz <[email protected]
> <javascript:>> a écrit :
>
>> Hi Pat,
>>
>> I upgraded to version 1.2 and noticed that there is the code to swap the
>> moon phases for southern hemisphere, which is great.
>> I looked at it and it didn't look correct. I looked at the css code and
>> saw that the code to lip the icons was there.
>>
>> This is my web site:
>> https://weather.ubeaut.work/belchertown/
>> and I compared it to yours:
>> https://belchertownweather.com/
>>
>> Then I figured out why it didn't look correct because I was looking at it
>> in *dark theme*. When dark theme is selected the moon phases change to
>> incorrect.
>> When the theme is light the moon phase is correct.
>>
>>
>> Other than that all is OK.
>>
>>
>> On Sunday, 13 September 2020 04:17:13 UTC+10, Pat wrote:
>>>
>>> I had an error with the install for this skin and was missing some
>>> icons. It's been fixed. I suggest you re-download the release, re-install
>>> it and restart weewx. Oops!
>>>
>>> On Friday, September 11, 2020 at 2:46:40 PM UTC-4 Pat wrote:
>>>
>>>> Belchertown Skin 1.2 is out of beta and released! You can download it
>>>> here
>>>> <https://github.com/poblabs/weewx-belchertown/releases/tag/weewx-belchertown-1.2>
>>>> .
>>>>
>>>> Thanks to everyone who helped test all the new changes, especially with
>>>> the new Aeris Weather integration testing! DarkSky will be missed but
>>>> Aeris
>>>> is a great replacement.
>>>>
>>>> If you're upgrading, please pay attention to the breaking changes that
>>>> you will need to migrate to.
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/8816ce97-7b36-4f82-a356-4fc30621d315o%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/8816ce97-7b36-4f82-a356-4fc30621d315o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Météo d'Auffargis <https://meteo-auffargis.decoodt.eu>
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/eae91937-bb1b-4b59-9b34-01976ff9616do%40googlegroups.com.