I'm not sure if this is correct, but the problem seems to be:
code:
if(GMTs.indexOf(",") != -1) {
var GMT = 1 * GMTs.replace(",", ".")
}
If you try setting the GMT like "1,5" it acts the same as if it is "1.5", so I assume that this "," should be changed to a ".". (Works for me at least.)