]> git.openstreetmap.org Git - rails.git/commitdiff
Fix bogus date translation.
authorTom Hughes <tom@compton.nu>
Sun, 31 May 2009 17:50:00 +0000 (17:50 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 31 May 2009 17:50:00 +0000 (17:50 +0000)
app/views/user/view.rhtml

index 5096306431635eb333757622c896c1285142197c..8a28b483efd292fd2d29c9ac5f2171b3619e3b2c 100644 (file)
@@ -71,7 +71,7 @@
       <% end %>
       </td>
       <td class="username"><%= link_to h(@friend.display_name), :controller => 'user', :action => 'view',  :display_name => @friend.display_name %></td>
       <% end %>
       </td>
       <td class="username"><%= link_to h(@friend.display_name), :controller => 'user', :action => 'view',  :display_name => @friend.display_name %></td>
-      <td><% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :distance => l(@this_user.distance(@friend).round) %><% end %></td>
+      <td><% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :distance => @this_user.distance(@friend).round %><% end %></td>
       <td class="message">(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>)</td>
       </tr>
       <%end%>
       <td class="message">(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>)</td>
       </tr>
       <%end%>