Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1EC7200AF5 for ; Thu, 2 Jun 2016 16:51:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C05AC160A3F; Thu, 2 Jun 2016 14:51:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 12E6016098A for ; Thu, 2 Jun 2016 16:51:15 +0200 (CEST) Received: (qmail 26937 invoked by uid 500); 2 Jun 2016 14:51:15 -0000 Mailing-List: contact commits-help@ponymail.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ponymail.incubator.apache.org Delivered-To: mailing list commits@ponymail.incubator.apache.org Received: (qmail 26928 invoked by uid 99); 2 Jun 2016 14:51:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2016 14:51:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B999F1A078E for ; Thu, 2 Jun 2016 14:51:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id xZcxQcfVITj2 for ; Thu, 2 Jun 2016 14:51:14 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 0FC6B5F4E3 for ; Thu, 2 Jun 2016 14:51:12 +0000 (UTC) Received: (qmail 26915 invoked by uid 99); 2 Jun 2016 14:51:12 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2016 14:51:12 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 201D6DFE65; Thu, 2 Jun 2016 14:51:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: humbedooh@apache.org To: commits@ponymail.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-ponymail git commit: reverse tz offset Date: Thu, 2 Jun 2016 14:51:12 +0000 (UTC) archived-at: Thu, 02 Jun 2016 14:51:16 -0000 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 Authored: Thu Jun 2 16:50:59 2016 +0200 Committer: humbedooh 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) {