1
0
Fork 0

Changed timestamp parsing

This commit is contained in:
Lukas Bachschwell 2016-04-04 19:07:22 +02:00
parent c6290acfc9
commit 33de2725f8
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ function serialListener(debug)
numberStringRecieved = data;
numberRecieved = data.substring(data.indexOf('+CMT: "') + 7, data.indexOf('",'));
numberRecieved = ucs2Parse(numberRecieved);
timeRecieved = data.substring(data.indexOf('","","') + 15, data.indexOf('+04'));
timeRecieved = data.substring(data.indexOf('","","') + 15, data.indexOf('+0')); // the end of this string has to do with time zone and daylightsaving time mode
} else if (data.length > 1) {
if(numberRecieved){