Commit 260fd1c57251f635f7f48753ae25148350941815
1 parent
324d6584
Exists in
master
and in
1 other branch
Show the time of occurence of an exception with maximum available (stored) precision
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/views/notices/_summary.html.haml
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | %td= notice.where | 12 | %td= notice.where |
13 | %tr | 13 | %tr |
14 | %th Occurred | 14 | %th Occurred |
15 | - %td= notice.created_at.to_s(:micro) | 15 | + %td= notice.created_at.to_s(:precise) + (".%03d" % notice.created_at.usec) |
16 | %tr | 16 | %tr |
17 | %th Similar | 17 | %th Similar |
18 | %td= problem.notices_count - 1 | 18 | %td= problem.notices_count - 1 |
config/initializers/time_formats.rb