X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/898beb7b7f693cc21b329dab9a22268e3df77446..231bdf66cdc8239c37e1536be4fb52ce275219e3:/app/views/changeset/_changeset.rhtml?ds=sidebyside
diff --git a/app/views/changeset/_changeset.rhtml b/app/views/changeset/_changeset.rhtml
index e9c07f94f..69d8933f6 100644
--- a/app/views/changeset/_changeset.rhtml
+++ b/app/views/changeset/_changeset.rhtml
@@ -5,7 +5,7 @@
#<%= changeset.id %>
- <% if changeset.closed_at > Time.now %> (still editing)
+ <% if changeset.closed_at > DateTime.now %> (still editing)
<% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %>
|
@@ -22,7 +22,7 @@
lat1 = changeset.min_lat/GeoRecord::SCALE.to_f
lat2 = changeset.max_lat/GeoRecord::SCALE.to_f
lon1 = changeset.min_lon/GeoRecord::SCALE.to_f
- lon2 = changeset.min_lon/GeoRecord::SCALE.to_f
+ lon2 = changeset.max_lon/GeoRecord::SCALE.to_f
%>
(<%= format("%0.3f",lat1) -%>,<%= format("%0.3f",lon1) -%>) to
(<%= format("%0.3f",lat2) -%>,<%= format("%0.3f",lon2) -%>)
|