From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8515 invoked by alias); 27 Feb 2015 22:03:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19933 Received: (qmail 20020 invoked from network); 27 Feb 2015 22:03:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.2 Date: Fri, 27 Feb 2015 17:02:58 -0500 From: rj To: zsh-users@zsh.org Subject: Re: Is it possible to get a 4-char year in WATCHFMT Message-ID: <20150227220258.GA22603@panix.com> Mail-Followup-To: zsh-users@zsh.org References: <20150227213906.GA25112@panix.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20150227213906.GA25112@panix.com> X-To-All-My-Friends-In-Domestic-Surveillance: Hi There, Sports Fans! User-Agent: Mutt/1.5.23 (2014-03-12) --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Fri 27 at 04:39 PM -0500, rj wrote: > "%D" in WATCHFMT prints a 2-char year. Is there a way one can get a 4-char > year? Does WATCHFMT take strftime sequences? Actually, I see on one of my logins I was able to do it this way: %D{%A %Y-%m-%d} Though I don't remember what "%A" does, and it isn't listed as an available sequence in the "WATCHFMT" setion in man zshall. man strftime says that *its* "%A" is "The full weekday name according to the current locale." --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (NetBSD) iEYEARECAAYFAlTw6ZIACgkQPxfUK/xcc3CXUgCgrYXGgP7JKJCbgwZwsWNgnaXC 4R0AnjnHOee5NVxCjPrFgIUTD23tnQ+M =MJ9f -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--