From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2089 invoked from network); 9 Dec 2007 03:04:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Dec 2007 03:04:30 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 66544 invoked from network); 9 Dec 2007 03:04:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Dec 2007 03:04:17 -0000 Received: (qmail 11382 invoked by alias); 9 Dec 2007 03:04:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24193 Received: (qmail 18260 invoked from network); 9 Dec 2007 00:49:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Dec 2007 00:49:09 -0000 Received: (qmail 1709 invoked from network); 9 Dec 2007 00:49:09 -0000 Received: from nf-out-0910.google.com (64.233.182.184) by a.mx.sunsite.dk with SMTP; 9 Dec 2007 00:49:03 -0000 Received: by nf-out-0910.google.com with SMTP id d21so771076nfb for ; Sat, 08 Dec 2007 16:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:message-id:mime-version:content-type:content-disposition:content-transfer-encoding:user-agent:from; bh=gi8GcNzxkREPYzkO4xvg3zprCC8ITNxs5i83o1AB1nc=; b=dUbv6A7eMgfKWaDue/89D8o4f9v7ZnyigfXJZ5mQR/D6w+43KCsT/aKV1Du7Gytr+0pxGNmsrlyW/aqlmjlJCWUaHnDhX04wilMzUMU4ghz5Rke8F8kX21oSKgZW4R0KTx/mD6+YzvXELfI2VgxHEwXp+3Do8+ri/C+f6KhgYks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:mime-version:content-type:content-disposition:content-transfer-encoding:user-agent:from; b=icPgl1MCBFoOU8Xxaa0MioricgQtRELjEn6yA7LE21spSX+pDXuuqZha6xc0T9U8d1IGQ5vIwH7r8s0kJzZqXVNGaf3x/fZMH2uXclsnluoXC4hMcnItkXPYqgAuucnJG37xIZqoPzp6/vHZuFnmwB3mmGXKlUPqL8cDFlxMCDw= Received: by 10.86.53.8 with SMTP id b8mr3850593fga.1197161342621; Sat, 08 Dec 2007 16:49:02 -0800 (PST) Received: from localhost ( [83.115.187.184]) by mx.google.com with ESMTPS id e11sm880431fga.2007.12.08.16.49.00 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 08 Dec 2007 16:49:01 -0800 (PST) Date: Sun, 9 Dec 2007 01:49:23 +0100 To: zsh-workers@sunsite.dk Subject: [bug] zsh/datetime strftime bug Message-ID: <20071208221401.GA5387@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.11 From: antho.charles@gmail.com Hi zsh workers ! I think I found a bug in strftime: baha@Saito% zsh -f Saito%zmodload zsh/datetime Saito% strftime '%T %x' $EPOCHSECONDS 23:04:17 Saito% strftime '%T%x' $EPOCHSECONDS 23:05:2408.12.2007 Saito% strftime '%x %T' $EPOCHSECONDS 08.12.2007 23:06:02 I don't get the value of %x in the first output. If I loop the strftime command, I get sometimes some garbage characters. Saito% for i in {1..10}; strftime '%T %x' $EPOCHSECONDS && sleep 2 23:12:06 � 23:12:08 23:12:10 � 23:12:12 -- Anthony CHARLES