|
From: <pf...@us...> - 2012-09-27 08:56:56
|
Revision: 1020
http://openautomation.svn.sourceforge.net/openautomation/?rev=1020&view=rev
Author: pfry
Date: 2012-09-27 08:56:47 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
Umlaute raus, bei date statt %X nun %T
Modified Paths:
--------------
wiregate/plugin/generic/Logikprozessor.pl
Modified: wiregate/plugin/generic/Logikprozessor.pl
===================================================================
--- wiregate/plugin/generic/Logikprozessor.pl 2012-09-25 14:30:37 UTC (rev 1019)
+++ wiregate/plugin/generic/Logikprozessor.pl 2012-09-27 08:56:47 UTC (rev 1020)
@@ -27,9 +27,9 @@
# }
#}
-# Tools und vorbesetzte Variablen fur die Logiken
+# 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,%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=~/^(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+),(.+)$/;
my $calendar_week=$1;
my $day_of_week=$2;
@@ -640,7 +640,7 @@
calendar_week=>$calendar_week,day_of_week=>$day_of_week_no};
add_day_info($today);
- my $time_of_day=`/bin/date +"%X"`;
+ my $time_of_day=`/bin/date +"%T"`;
# Schedule-Form standardisieren (alle Eintraege in Listenform setzen und Wochentage durch Zahlen ersetzen)
# dabei gleich schauen, ob HEUTE noch ein Termin ansteht
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|