From ee89c510762b06fd4d2040fc7a1f9bb7af99667d Mon Sep 17 00:00:00 2001 From: phenning <> Date: Sun, 17 Dec 2017 16:48:20 +0000 Subject: [PATCH] =?UTF-8?q?95=5FYAAHM.pm:=20Workaround=20f=C3=BCr=20localt?= =?UTF-8?q?ime.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.fhem.de/fhem/trunk@15632 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/95_YAAHM.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/95_YAAHM.pm b/fhem/FHEM/95_YAAHM.pm index d8414120e..641d07c87 100644 --- a/fhem/FHEM/95_YAAHM.pm +++ b/fhem/FHEM/95_YAAHM.pm @@ -48,7 +48,7 @@ my $yaahmname; my $yaahmlinkname = "Profile"; # link text my $yaahmhiddenroom = "ProfileRoom"; # hidden room my $yaahmpublicroom = "Unsorted"; # public room -my $yaahmversion = "1.32"; +my $yaahmversion = "1.33"; my $firstcall = 1; my %yaahm_transtable_EN = ( @@ -948,7 +948,7 @@ sub YAAHM_Get($@) { sub YAAHM_save($) { my ($hash) = @_; - $hash->{DATA}{"savedate"} = localtime(time); + $hash->{DATA}{"savedate"} = sprintf("%s",localtime(time)); readingsSingleUpdate( $hash, "savedate", $hash->{DATA}{"savedate"}, 1 ); my $json = JSON->new->utf8; my $jhash0 = eval{ $json->encode( $hash->{DATA} ) };