mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-18 12:06:04 +00:00
95_YAAHM.pm: Workaround für localtime.
git-svn-id: https://svn.fhem.de/fhem/trunk@15632 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
05b1f22ef8
commit
ee89c51076
@ -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} ) };
|
||||
|
Loading…
x
Reference in New Issue
Block a user