]> source.dussan.org Git - redmine.git/commitdiff
Merged r11091 from trunk (#12711, #11290)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 3 Jan 2013 00:15:32 +0000 (00:15 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 3 Jan 2013 00:15:32 +0000 (00:15 +0000)
fix incorrect min_x_value of lib/SVG/Graph/TimeSeries.rb by r10439.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.2-stable@11093 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/SVG/Graph/TimeSeries.rb

index bfa7c960ced690947911e0c47c9af672d05d4db1..e6a3a0f1607d8a2ea639326c78d2c56f2f7d4515 100644 (file)
@@ -171,7 +171,7 @@ module SVG
       protected\r
 \r
       def min_x_value=(value)\r
-        @min_x_value = DateTime.parse( data[:data][i] ).to_time\r
+        @min_x_value = DateTime.parse( value ).to_time\r
       end\r
 \r
 \r