From 571f9baf99a1493db43b038fb4db2afbf44c513d Mon Sep 17 00:00:00 2001 From: Vincent Roy Date: Wed, 21 Mar 2012 17:25:11 +0530 Subject: [PATCH] Use round() instead of parseInt() to be consistent. --- moment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moment.js b/moment.js index 88da48220..637b96638 100644 --- a/moment.js +++ b/moment.js @@ -600,7 +600,7 @@ }, unixValueOf : function () { - return parseInt(this.valueOf() / 1000, 10); + return round(this.valueOf() / 1000); }, local : function () { -- 2.47.2