[gitg/vala] Fix use of round function



commit d2e710e1936d24649cf23ccc6bffc86660f4ab7a
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Tue Jul 17 09:52:22 2012 +0200

    Fix use of round function

 libgitg-gtk/resources/base.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg-gtk/resources/base.js b/libgitg-gtk/resources/base.js
index 4379154..37bbe22 100644
--- a/libgitg-gtk/resources/base.js
+++ b/libgitg-gtk/resources/base.js
@@ -236,7 +236,7 @@ function date_to_string(d)
 	}
 	else if (t < 3600 * 24 * 6)
 	{
-		return Math.Round(t / (3600 * 24)) + " days ago";
+		return Math.round(t / (3600 * 24)) + " days ago";
 	}
 
 	return d.toLocaleString();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]