change from %k to %H for better compability with Strawberry Perl on

Windows
This commit is contained in:
Marko Oldenburg 2020-08-12 10:55:29 +02:00
parent 13134ebcdb
commit 95f520901a
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
UPD 2020-08-06_14:32:42 97596 FHEM/73_AutoShuttersControl.pm
UPD 2020-08-10_10:56:36 74180 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-08-10_13:49:45 74180 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2020-07-26_17:36:29 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2020-07-26_17:36:29 31376 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2020-08-10_09:46:48 24209 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2020-08-12_10:49:44 31376 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2020-08-10_13:49:45 24209 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2020-08-06_14:32:42 109110 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2020-08-10_09:28:25 45519 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2020-08-10_13:49:45 45519 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm
UPD 2020-07-26_17:36:29 11569 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
UPD 2020-07-03_11:29:10 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm

View File

@ -562,7 +562,7 @@ sub getAntiFreezeStatus {
$daytime = (
defined($daytime) && $daytime
? $daytime
: ( strftime( "%k", localtime() ) < 12 ? 'am' : 'pm' )
: ( strftime( "%H", localtime() ) < 12 ? 'am' : 'pm' )
);
my $outTemp = $FHEM::Automation::ShuttersControl::ascDev->getOutTemp;