X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5175ee68b00629daa03a788688b2cfe38ed8d3ee..13e7a4b0e94749e65cb6b7703e86daf5e312064e:/app/helpers/changeset_helper.rb diff --git a/app/helpers/changeset_helper.rb b/app/helpers/changeset_helper.rb index cc008aab7..7eb389023 100644 --- a/app/helpers/changeset_helper.rb +++ b/app/helpers/changeset_helper.rb @@ -10,7 +10,7 @@ module ChangesetHelper end def changeset_details(changeset) - if changeset.closed_at > DateTime.now + if changeset.closed_at > Time.now action = :created time = distance_of_time_in_words_to_now(changeset.created_at) title = l(changeset.created_at)