From a946edc14193ead004a63cee24262c12a207c5b3 Mon Sep 17 00:00:00 2001 From: Adam Beynon Date: Mon, 28 Oct 2013 09:42:52 +0000 Subject: [PATCH] Fix for Time#- not returning when given a time --- corelib/time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corelib/time.rb b/corelib/time.rb index 36196faad0..d8e744843e 100644 --- a/corelib/time.rb +++ b/corelib/time.rb @@ -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