|
From: <dpe...@us...> - 2012-11-10 10:16:46
|
Revision: 1114
http://openautomation.svn.sourceforge.net/openautomation/?rev=1114&view=rev
Author: dpesch01
Date: 2012-11-10 10:16:40 +0000 (Sat, 10 Nov 2012)
Log Message:
-----------
Vertipper in Fehlermeldung Datum/Uhrzeit korrigiert + Angabe des falschen Werts im Logfile
Modified Paths:
--------------
wiregate/plugin/generic/Logikprozessor.pl
Modified: wiregate/plugin/generic/Logikprozessor.pl
===================================================================
--- wiregate/plugin/generic/Logikprozessor.pl 2012-11-10 10:14:56 UTC (rev 1113)
+++ wiregate/plugin/generic/Logikprozessor.pl 2012-11-10 10:16:40 UTC (rev 1114)
@@ -30,7 +30,7 @@
# Tools und vorbesetzte Variablen fuer die Logiken
sub limit { my ($lo,$x,$hi)=@_; return $x<$lo?$lo:($x>$hi?$hi:$x); }
my $date=`/bin/date +"%W,%a,%u,%m,%d,%Y,%j,%H,%M,%T"`;
-plugin_log($plugname, "Datum/Uhrzeit konnte nicht lesbar.") unless $date=~/^(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+)$/;
+plugin_log($plugname, "Datum/Uhrzeit nicht lesbar: '$date'") unless $date=~/^(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+)$/;
my $calendar_week=$1;
my $day_of_week=$2;
my $day_of_week_no=$3;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|