Skip to content

Commit

Permalink
Fix for Time#- not returning when given a time
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 28, 2013
1 parent e292b33 commit a946edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def +(other)

def -(other)
if Time === other
`(self.getTime() - other.getTime()) / 1000;`
`(self.getTime() - other.getTime()) / 1000`
else
other = Opal.coerce_to other, Integer, :to_int

Expand Down

0 comments on commit a946edc

Please sign in to comment.