X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4eb2e318afd080f89e76c664a75ba7e09b31fd91..ff3a30d2458cc11ce058343fc6e55b894dc33d9c:/app/controllers/api/changesets_controller.rb diff --git a/app/controllers/api/changesets_controller.rb b/app/controllers/api/changesets_controller.rb index 29a57570d..34627a118 100644 --- a/app/controllers/api/changesets_controller.rb +++ b/app/controllers/api/changesets_controller.rb @@ -308,7 +308,7 @@ module Api # low, second is high - same as with bounding boxes. # check that we actually have 2 elements in the array - times = time.split(/,/) + times = time.split(",") raise OSM::APIBadUserInput, "bad time range" if times.size != 2 from, to = times.collect { |t| Time.parse(t) }