X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5175ee68b00629daa03a788688b2cfe38ed8d3ee..5cfc163bc2d47c2a1c179127111e287eebbbda75:/app/helpers/changeset_helper.rb?ds=inline 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)