testing #29

Merged
marko merged 73 commits from testing into main 2023-01-07 12:49:01 +00:00
2 changed files with 10 additions and 10 deletions
Showing only changes of commit 3a5046aab6 - Show all commits

View File

@ -1,4 +1,4 @@
UPD 2022-12-30_12:15:47 54815 FHEM/59_Weather.pm
UPD 2022-12-30_12:15:47 49883 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2022-12-30_12:15:47 32101 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2022-12-30_12:17:04 36070 lib/FHEM/APIs/Weather/wundergroundAPI.pm
UPD 2022-12-30_12:22:17 54815 FHEM/59_Weather.pm
UPD 2022-12-30_12:22:17 49883 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2022-12-30_12:22:17 32101 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2022-12-30_13:17:00 36076 lib/FHEM/APIs/Weather/wundergroundAPI.pm

View File

@ -393,7 +393,7 @@ sub _ProcessingRetrieveData {
# print Dumper $data; ## für Debugging
$self->{cached}{current_date_time} =
strftimeWrapper( "%a, %e %b %Y %H:%M",
_strftimeWrapper( "%a, %e %b %Y %H:%M",
localtime( $self->{fetchTime} ) );
# $self->{cached}{timezone} = $data->{timezone};
@ -455,7 +455,7 @@ sub _ProcessingRetrieveData {
'solarRadiation' => $data->{solarRadiation},
'uvIndex' => $data->{uv},
'humidity' => $data->{humidity},
'pubDate' => strftimeWrapper(
'pubDate' => _strftimeWrapper(
"%a, %e %b %Y %H:%M",
localtime(
main::time_str2num( $data->{obsTimeLocal} )
@ -507,7 +507,7 @@ sub _ProcessingRetrieveData {
'moonPhase' => $data->{moonPhase}[$i],
'moonPhaseCode' => $data->{moonPhaseCode}[$i],
'moonPhaseDay' => $data->{moonPhaseDay}[$i],
'moonriseTime' => strftimeWrapper(
'moonriseTime' => _strftimeWrapper(
"%a, %e %b %Y %H:%M",
localtime(
main::time_str2num(
@ -515,7 +515,7 @@ sub _ProcessingRetrieveData {
)
)
),
'moonsetTime' => strftimeWrapper(
'moonsetTime' => _strftimeWrapper(
"%a, %e %b %Y %H:%M",
localtime(
main::time_str2num(
@ -526,7 +526,7 @@ sub _ProcessingRetrieveData {
'narrative' => $data->{narrative}[$i],
'precipProbability' => $data->{qpf}[$i],
'precipProbabilitySnow' => $data->{qpfSnow}[$i],
'sunriseTime' => strftimeWrapper(
'sunriseTime' => _strftimeWrapper(
"%a, %e %b %Y %H:%M",
localtime(
main::time_str2num(
@ -534,7 +534,7 @@ sub _ProcessingRetrieveData {
)
)
),
'sunsetTime' => strftimeWrapper(
'sunsetTime' => _strftimeWrapper(
"%a, %e %b %Y %H:%M",
localtime(
main::time_str2num(