2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

57_CALVIEW: - replace unwanted backslash before a comma sign

git-svn-id: https://svn.fhem.de/fhem/trunk@9021 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
chris1284 2015-08-05 08:51:32 +00:00
parent dadc577a9d
commit 044b21694f

View File

@ -1,4 +1,4 @@
# $Id: 57_CALVIEW.pm 7014 2015-07-14 08:10:00Z chris1284 $ # $Id: 57_CALVIEW.pm 7014 2015-08-05 10:50:00Z chris1284 $
########################### ###########################
# CALVIEW # CALVIEW
# #
@ -92,6 +92,9 @@ sub CALVIEW_GetUpdate($){
my @tempend=split(/\s+/,$item->[2]); my @tempend=split(/\s+/,$item->[2]);
my ($D,$M,$Y)=split(/\./,$tempstart[0]); my ($D,$M,$Y)=split(/\./,$tempstart[0]);
my @bts=str2time($M."/".$D."/".$Y." ".$tempstart[1]); my @bts=str2time($M."/".$D."/".$Y." ".$tempstart[1]);
#replace the "\," with ","
$item->[1] =~ s/\\,/,/g;
$item->[4] =~ s/\\,/,/g;
push @termineNew,{ push @termineNew,{
bdate => $tempstart[0], bdate => $tempstart[0],
btime => $tempstart[1], btime => $tempstart[1],