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

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

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;