57_CALVIEW: code cleanup (double declaration)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8668 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
chris1284
2015-05-31 09:26:46 +00:00
parent 57c5fb525e
commit ede2bcc265

View File

@@ -81,7 +81,7 @@ sub CALVIEW_GetUpdate($){
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
$year += 1900; $mon += 1;
my $date = sprintf('%02d.%02d.%04d', $mday, $mon, $year);
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time + 86400);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time + 86400);
$year += 1900; $mon += 1;
my $datenext = sprintf('%02d.%02d.%04d', $mday, $mon, $year);
my @termineNew;