Skip to content
Browse files

Fix bug in date formatting (thanks Mike R)

  • Loading branch information...
1 parent e39bb4b commit 6bd746c848c7a509ba85380ffcbea9ff6d715d39 @hoytech committed Oct 9, 2013
Showing with 3 additions and 1 deletion.
  1. +2 −0 Changes
  2. +1 −1 bin/log-defer-viz
View
2 Changes
@@ -1,3 +1,5 @@
+ * Fix bug in date formatting (thanks Mike R)
+
0.310 2013-09-01
* Don't die on log lines that don't start with JSON
useful for parsing mixed log-defer/free-form formats
View
2 bin/log-defer-viz
@@ -247,7 +247,7 @@ sub handle_entry {
} else {
require Date::Format;
- $datetime = Date::Format::time2str("%Y-%m-%d %a %I:%M:%S$millis %Z", $entry->{start});
+ $datetime = Date::Format::time2str("%Y-%m-%d %a %H:%M:%S$millis %Z", $entry->{start});
}
my $date_header = "------ " . $datetime . " ------";

0 comments on commit 6bd746c

Please sign in to comment.
Something went wrong with that request. Please try again.