From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Charles Sebold Newsgroups: gmane.emacs.help Subject: Re: Week number Date: Tue, 14 Oct 2008 16:42:20 -0500 Message-ID: References: <200810142025.m9EKP5DO005068@zogzog.maillard.mobi> <89096C3D-4AA6-49CA-936B-76391EEE1FA1@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224020604 4523 80.91.229.12 (14 Oct 2008 21:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 21:43:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Charles Sebold To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 23:44:23 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kprgh-0003ZJ-Oy for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 23:44:20 +0200 Original-Received: from localhost ([127.0.0.1]:47212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kprfd-00053E-8V for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 17:43:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpreu-0004af-MS for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 17:42:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpres-0004Zn-Jd for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 17:42:27 -0400 Original-Received: from [199.232.76.173] (port=51795 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpres-0004Za-E4 for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 17:42:26 -0400 Original-Received: from mail-gx0-f10.google.com ([209.85.217.10]:34001) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kpres-00049n-4q for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 17:42:26 -0400 Original-Received: by gxk3 with SMTP id 3so5928790gxk.18 for ; Tue, 14 Oct 2008 14:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references:from :x-using-mail-mode:face:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=Ol2l5ozkg+OD+MEhDjlROpxnghaaDm7WADVS8d8yUdQ=; b=ZTWGQxHnN3PPEZgp7ZI/tXNGqu6zGPWSVxQ1i4FTBPYdDSkllkS++wxgr8pNCkKzVQ vFg23iUSLg4KJWEPrO7HZ3vD7pi3wRZJ/lLAtYLk0oLmfL9tQ2It+cQPuBtCfR88h4V1 1jx6KsPX2gJIh+Akd7gHnG3JBleFA1sB8xqJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:from:x-using-mail-mode:face:date :in-reply-to:message-id:user-agent:mime-version:content-type; b=gIiYn/y5CywZ08NQBcki6Fzv3Qq1Sw/j25wjHHl5EnOBFYNjTzPYQwDF2s0MsC/d0g W6woDN7w56JuWkHgDt+zhBpb69UVBSCo5IEc5zwJUdMWrLEf9jZTDJYrZxQBl38GU8m9 8CiTVywzhrQYrr9KNDtJamAQlyArp77eVr2Gw= Original-Received: by 10.90.83.18 with SMTP id g18mr110157agb.12.1224020544324; Tue, 14 Oct 2008 14:42:24 -0700 (PDT) Original-Received: from smtp.gmail.com (75-130-10-114.static.stls.mo.charter.com [75.130.10.114]) by mx.google.com with ESMTPS id g5sm176245wra.14.2008.10.14.14.42.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Oct 2008 14:42:23 -0700 (PDT) X-Using-Mail-Mode: Gmail Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAxQTFRF Py4qdFVKtYRz3aSQR+07SwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gIEhcaB8/5OroA AAHxSURBVCjPLdExa9tAFMDxp1Jl6OZBGrJ36ac4g+2hSxXwCexAOzmQM9QfIIs9NLMNOYPVoUsl 0BNIUwafQPoKGdolHbo0BstgLy3FEuj15HS7H/93B3cHxExMieiLzwBwbotcI2xA8zM8aDwupxoP /BnP5fyE4vuMgWQ8yiuiv08LBtlUxDpQXX5iQLNh0oDWtw7Uczc64ejNgKaWaNZYvp+DeHjp5lRL V31YAGeWMT743J+8/QZbo9UXGIwz790vmBn99pAU5lHPh99mu+PWkifl7VfonvW4e/T7Vi2vwXnF ZdcN73uT4A66risuN/iHo9+HzcBbiQ2uuWy1oL0KwjebLaK3R/Dt69XHQ5FgRAjMdDnuirj4XBcA 9uoqXZdRFe0bIFKGiJNSj9l6Ot1yj3aoS/yDMqpyKlWDn1V5up4u58ljUTcoY7izswCj/6Xy8EKc UChIvfBF2DxWjQrU0jH4ZVN2ClA6FrfzpuwBfcsLcKxLpCAYDVwshkRVtodi8Zp7+VKPHUqI/YFA IfWmKoVCuiIONTLSR0vLS+gpqahScOzzC0H+5JDra0tmOqKU+vf2Cu6Z0Rni4ian/alw4S9uqMGI Ga43utBjSr8bszCU3UiHUMP0Qt6O0hRl842DFTejSgUDWDvmcNTpqjhc8n9hvWnVsoKmHAAAAABJ RU5ErkJggg== In-Reply-To: <89096C3D-4AA6-49CA-936B-76391EEE1FA1@Web.DE> (Peter Dyballa's message of "Tue\, 14 Oct 2008 23\:37\:45 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58784 Archived-At: On 14 Oct 2008, Peter Dyballa wrote: > So %W counts the complete weeks and %V counts the legal weeks. And > (format-time-string "%V") returns 42 for me. See also 'man strftime'. Good to know both possibilities are covered. Forget my function, then. -- Charles Sebold http://merbc.invigorated.org/ http://triablogue.blogspot.com/