mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
95_Astro.pm: Viele kleine Änderungen u.a. von loredo und CoolTux
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25198 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4b96f23b7d
commit
18c396106e
@ -773,6 +773,7 @@ sub Define ($@) {
|
||||
|
||||
return $@ unless ( FHEM::Meta::SetInternals($hash) );
|
||||
use version 0.77; our $VERSION = FHEM::Meta::Get( $hash, 'version' );
|
||||
return 'Astro may not be run on Windows systems' if $^O eq 'MSWin32';
|
||||
|
||||
if ($global) {
|
||||
return "$type global device $modules{$type}{global}{NAME} is already defined"
|
||||
@ -2516,8 +2517,9 @@ sub Update($@) {
|
||||
defined( $hash->{RECOMPUTEAT} ) ? split( ',', $hash->{RECOMPUTEAT} ) : () )
|
||||
{
|
||||
if ( $comp eq 'NewDay' ) {
|
||||
my @dch = localtime($now + 86400 + 3600*((localtime($now))[8] - (localtime($now + 86400.))[8]));
|
||||
push @next,
|
||||
_timelocal_modern( 0, 0, 0, (localtime($now + 86400.))[3,4], (localtime($now + 86400.))[5]+1900. );
|
||||
_timelocal_modern( 0, 0, 0, $dch[3], $dch[4], $dch[5]+1900. );
|
||||
next;
|
||||
}
|
||||
my $k = ".$comp";
|
||||
@ -3196,7 +3198,7 @@ sub Get($@) {
|
||||
=end html_DE
|
||||
=for :application/json;q=META.json 95_Astro.pm
|
||||
{
|
||||
"version": "v2.1.2",
|
||||
"version": "v2.2",
|
||||
"author": [
|
||||
"Prof. Dr. Peter A. Henning <>",
|
||||
"Julian Pawlowski <>",
|
||||
|
Loading…
x
Reference in New Issue
Block a user