diff --git a/app/views/notices/_summary.html.haml b/app/views/notices/_summary.html.haml index 5eb0265..151e37f 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(:micro) + %td= notice.created_at.to_s(:precise) + (".%03d" % notice.created_at.usec) %tr %th Similar %td= problem.notices_count - 1 diff --git a/config/initializers/time_formats.rb b/config/initializers/time_formats.rb index b3f32e3..f4d3054 100644 --- a/config/initializers/time_formats.rb +++ b/config/initializers/time_formats.rb @@ -1 +1,2 @@ Time::DATE_FORMATS[:micro] = '%b %d %l:%M%P' +Time::DATE_FORMATS[:precise] = '%b %d %H:%M:%S' -- libgit2 0.21.2