ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject incubator-ponymail git commit: fix math
Date Thu, 02 Jun 2016 09:42:48 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 0fc38e9e7 -> 313774350


fix math


Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/31377435
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/31377435
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/31377435

Branch: refs/heads/master
Commit: 313774350af429b3adb6118119d188ec652124e4
Parents: 0fc38e9
Author: humbedooh <humbedooh@apache.org>
Authored: Thu Jun 2 11:42:33 2016 +0200
Committer: humbedooh <humbedooh@apache.org>
Committed: Thu Jun 2 11:42:33 2016 +0200

----------------------------------------------------------------------
 site/js/dev/ponymail_email_tools.js | 2 +-
 site/js/ponymail.js                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/31377435/site/js/dev/ponymail_email_tools.js
----------------------------------------------------------------------
diff --git a/site/js/dev/ponymail_email_tools.js b/site/js/dev/ponymail_email_tools.js
index 3eca113..30da2ef 100644
--- a/site/js/dev/ponymail_email_tools.js
+++ b/site/js/dev/ponymail_email_tools.js
@@ -200,7 +200,7 @@ function formatDate(date, dtz){
         tz = Math.abs(tz)
     }
     while (tz >= 60) {
-        tz--;
+        tz-= 60;
         ttz++
     }
     ttz = (ttz*100) + tz

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/31377435/site/js/ponymail.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail.js b/site/js/ponymail.js
index 3b83af8..bcd43bd 100644
--- a/site/js/ponymail.js
+++ b/site/js/ponymail.js
@@ -2042,7 +2042,7 @@ function formatDate(date, dtz){
         tz = Math.abs(tz)
     }
     while (tz >= 60) {
-        tz--;
+        tz-= 60;
         ttz++
     }
     ttz = (ttz*100) + tz


Mime
View raw message