[gitg/vala] Fix use of round function
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/vala] Fix use of round function
- Date: Tue, 17 Jul 2012 07:57:31 +0000 (UTC)
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]