[go: up one dir, main page]

Skip to content

Commit

Permalink
fixed 'start date' for date time rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Hendryx committed Mar 26, 2014
1 parent 61ef0d0 commit e8dc24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dullard/reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def rows
when :datetime
when :time
when :date
value = (Date.parse('1900-01-01') + value.to_f)
value = (DateTime.new(1899,12,30) + value.to_f)
when :percentage # ? TODO
when :float
value = value.to_f
Expand Down

0 comments on commit e8dc24f

Please sign in to comment.