diff --git a/neinomat-termine b/neinomat-termine index 7664d77..3a475a9 100755 --- a/neinomat-termine +++ b/neinomat-termine @@ -40,7 +40,7 @@ end termine = termine.sort do |x,y| def datum2isodate(datum) - isodate = datum[6..9] + "-" + datum[3..4] + "-" + datum[0..1] + return datum[6..9] + "-" + datum[3..4] + "-" + datum[0..1] end datum2isodate(x["datum"]) <=> datum2isodate(y["datum"]) end