2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

95_Astro: make tzset() more robust, change Version

git-svn-id: https://svn.fhem.de/fhem/trunk@20848 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2019-12-29 16:22:56 +00:00
parent 9b8d3d67cf
commit da24850547
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it. # Do not insert empty lines here, update check depends on it.
- bugfix: 95_Astro: make tzset() more robust, change Version
- change: 73_AutoShuttersControl: little Bugfix, add devStateIcon Fn - change: 73_AutoShuttersControl: little Bugfix, add devStateIcon Fn
- change: 93_DbLog: avoid FHEM from crash if SVG requests a wrong date/time - change: 93_DbLog: avoid FHEM from crash if SVG requests a wrong date/time
format, Forum: #101005 format, Forum: #101005

View File

@ -1174,7 +1174,7 @@ sub SUNRISE_EL_sr_alt($$$$$$$$$) {
my $tz = my $tz =
AttrVal( $name, "timezone", AttrVal( "global", "timezone", undef ) ); AttrVal( $name, "timezone", AttrVal( "global", "timezone", undef ) );
local $ENV{TZ} = $tz if ($tz); local $ENV{TZ} = $tz if ($tz);
tzset() if ( exists &{'tzset'} ); eval { tzset() if ( exists &{'tzset'} ) };
#my $nt = time; #my $nt = time;
my @lt = localtime($nt); my @lt = localtime($nt);
@ -3196,7 +3196,7 @@ sub Get($@) {
=end html_DE =end html_DE
=for :application/json;q=META.json 95_Astro.pm =for :application/json;q=META.json 95_Astro.pm
{ {
"version": "v2.1.1", "version": "v2.1.2",
"author": [ "author": [
"Prof. Dr. Peter A. Henning <>", "Prof. Dr. Peter A. Henning <>",
"Julian Pawlowski <>", "Julian Pawlowski <>",