Skip to content
Browse files

Merge pull request #4 from artzub/patch-1

In order to handle dates that are older than 1970.
  • Loading branch information...
2 parents 1e90b95 + dc422a4 commit faed1d77eec0c75667fb10d869d14fb674f3cbf3 @acaudwell committed Mar 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/custom.cpp
View
2 src/custom.cpp
@@ -17,7 +17,7 @@
#include "custom.h"
-Regex custom_regex("^([0-9]+)\\|([^|]*)\\|([ADM]?)\\|([^|]+)(?:\\|#?([A-F0-9]{6}))?");
+Regex custom_regex("^(-?[0-9]+)\\|([^|]*)\\|([ADM]?)\\|([^|]+)(?:\\|#?([A-F0-9]{6}))?");
CustomLog::CustomLog(const std::string& logfile) : RCommitLog(logfile) {
}

0 comments on commit faed1d7

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