git.samba.org
/
obnox
/
ohloh
/
ohloh_scm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25053dd
)
[FIX] make SvnParserTest::test_log_parser() pass - correctly handle time zones
author
Michael Adam
<obnox@samba.org>
Mon, 2 Feb 2009 11:10:50 +0000
(12:10 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 2 Feb 2009 11:47:59 +0000
(12:47 +0100)
Michael
lib/scm/parsers/svn_parser.rb
patch
|
blob
|
history
diff --git
a/lib/scm/parsers/svn_parser.rb
b/lib/scm/parsers/svn_parser.rb
index 6672f8a0d6a600c20f9f2dc667780c859a0ddd76..97f0d4ac9979aa7c2d5b8b9828c4a4f65aefc02b 100644
(file)
--- a/
lib/scm/parsers/svn_parser.rb
+++ b/
lib/scm/parsers/svn_parser.rb
@@
-1,5
+1,3
@@
-require 'parsedate'
-
module Scm::Parsers
class SvnParser < Parser
def self.scm
@@
-18,7
+16,7
@@
module Scm::Parsers
e = Scm::Commit.new
e.token = $1.to_i
e.committer_name = $2
- e.committer_date = Time.
local(*ParseDate.parsedate($3)
).utc
+ e.committer_date = Time.
parse($3
).utc
elsif l == "Changed paths:"
next_state = :diffs
elsif l.empty?