Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B664693FA for ; Mon, 31 Oct 2011 12:13:00 +0000 (UTC) Received: (qmail 55044 invoked by uid 500); 31 Oct 2011 12:12:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 54963 invoked by uid 500); 31 Oct 2011 12:12:58 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 54048 invoked by uid 99); 31 Oct 2011 09:26:00 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Date: Mon, 31 Oct 2011 02:25:32 -0700 (PDT) From: uwegeercken To: user@ant.apache.org Message-ID: <1320053132744-4951923.post@n5.nabble.com> Subject: wrong week number MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have a strange problem and don't know what the cause could be, so I hope somebody can help me. I am using ant for a few years now without problems. now I have to migrate one job to a different machine. the old machine is a windows 2003 server with ant 1.6.5. the new machine is a redhat 64bit server with ant 1.8.2 now when I run the job I calculate the current week. strange is, that on the old windows machine it gives me week=44 and on the new machine it give me week=45 here is the code: the date on both machines: Mon Oct 31 10:17:21 CET 2011 I can not think of what the problem could be. and would appreciate any help. thanks, uwe -- View this message in context: http://ant.1045680.n5.nabble.com/wrong-week-number-tp4951923p4951923.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org