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: reverse tz offset
Date Thu, 02 Jun 2016 14:51:12 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 91eceda12 -> 19da4b5dd


reverse tz offset


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

Branch: refs/heads/master
Commit: 19da4b5dda8362c660441cdbfa3d3732dd77478e
Parents: 91eceda
Author: humbedooh <humbedooh@apache.org>
Authored: Thu Jun 2 16:50:59 2016 +0200
Committer: humbedooh <humbedooh@apache.org>
Committed: Thu Jun 2 16:50:59 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/19da4b5d/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 da91533..4e00dd6 100644
--- a/site/js/dev/ponymail_email_tools.js
+++ b/site/js/dev/ponymail_email_tools.js
@@ -194,9 +194,9 @@ Number.prototype.pad = function(size) {
 function formatDate(date, dtz){
     tz = new Date().getTimezoneOffset()
     ttz = 0
-    var plus = "+"
+    var plus = "-"
     if (tz < 0) {
-        plus = "-"
+        plus = ""
         tz = Math.abs(tz)
     }
     while (tz >= 60) {

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/19da4b5d/site/js/ponymail.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail.js b/site/js/ponymail.js
index 5b33a91..a053e88 100644
--- a/site/js/ponymail.js
+++ b/site/js/ponymail.js
@@ -2036,9 +2036,9 @@ Number.prototype.pad = function(size) {
 function formatDate(date, dtz){
     tz = new Date().getTimezoneOffset()
     ttz = 0
-    var plus = "+"
+    var plus = "-"
     if (tz < 0) {
-        plus = "-"
+        plus = ""
         tz = Math.abs(tz)
     }
     while (tz >= 60) {


Mime
View raw message