From 0833a3bc02d1dccecf373c1f26defd24e30f88b8 Mon Sep 17 00:00:00 2001 From: alsor Date: Thu, 2 Feb 2012 19:24:03 +0400 Subject: [PATCH] Oops. We can't have a millisecond precision because of Mongoid who strips them off the Time fields. See https://github.com/mongoid/mongoid/issues/64 --- app/views/notices/_summary.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notices/_summary.html.haml b/app/views/notices/_summary.html.haml index 151e37f..e1c7395 100644 --- a/app/views/notices/_summary.html.haml +++ b/app/views/notices/_summary.html.haml @@ -12,7 +12,7 @@ %td= notice.where %tr %th Occurred - %td= notice.created_at.to_s(:precise) + (".%03d" % notice.created_at.usec) + %td= notice.created_at.to_s(:precise) %tr %th Similar %td= problem.notices_count - 1 -- libgit2 0.21.2