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

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20848 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2019-12-29 16:22:56 +00:00
parent c955ab5524
commit aea07c9f1e
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.
# 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: 93_DbLog: avoid FHEM from crash if SVG requests a wrong date/time
format, Forum: #101005

View File

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