fix parsing of datetimes with timezone (thanks sigi)

This commit is contained in:
Adam Meehan
2010-11-06 19:05:50 +11:00
parent 341a481231
commit 6265b2d804
2 changed files with 5 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ module ValidatesTimeliness
if type == :date
Date.new(*time_array[0..2]) rescue nil
else
make_time(time_array[0..7])
make_time(time_array[0..6])
end
end