From 9b5b85b8ef263c1f809e831f7078b14f2e04e6e4 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Mon, 16 Apr 2012 07:14:53 +0000 Subject: [PATCH] Absolute at is started at the second border. git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1457 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/90_at.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/90_at.pm b/fhem/FHEM/90_at.pm index 7fe676526..4205ecd1f 100755 --- a/fhem/FHEM/90_at.pm +++ b/fhem/FHEM/90_at.pm @@ -49,6 +49,7 @@ at_Define($$) $cnt = "" if(!defined($cnt)); my $ot = $data{AT_TRIGGERTIME} ? $data{AT_TRIGGERTIME} : gettimeofday(); + $ot = int($ot) if(!$rel); # No way to specify subseconds my @lt = localtime($ot); my $nt = $ot;