summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-01-02 15:53:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-01-02 15:53:52 +0000
commit2ba7228b065bfe2a3c01e1caff32fd09c44e3ec5 (patch)
tree87ece33e799bf2dc9b5ad34a00af17352d68b46e
parent64b98928c9a1c95e54d769439eda3a84d2b2571c (diff)
downloadredmine-2ba7228b065bfe2a3c01e1caff32fd09c44e3ec5.tar.gz
redmine-2ba7228b065bfe2a3c01e1caff32fd09c44e3ec5.zip
fix incorrect min_x_value of lib/SVG/Graph/TimeSeries.rb by r10439 (#12711, #11290)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11091 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/SVG/Graph/TimeSeries.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SVG/Graph/TimeSeries.rb b/lib/SVG/Graph/TimeSeries.rb
index bfa7c960c..e6a3a0f16 100644
--- a/lib/SVG/Graph/TimeSeries.rb
+++ b/lib/SVG/Graph/TimeSeries.rb
@@ -171,7 +171,7 @@ module SVG
protected
def min_x_value=(value)
- @min_x_value = DateTime.parse( data[:data][i] ).to_time
+ @min_x_value = DateTime.parse( value ).to_time
end