From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qL+4OYHzMF+7XwAA0tVLHw (envelope-from ) for ; Mon, 10 Aug 2020 07:13:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qN+hNYHzMF9gJQAAB5/wlQ (envelope-from ) for ; Mon, 10 Aug 2020 07:13:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9F70B9402CB for ; Mon, 10 Aug 2020 07:13:04 +0000 (UTC) Received: from localhost ([::1]:60996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k51zS-0008Pm-DX for larch@yhetil.org; Mon, 10 Aug 2020 03:13:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k51z6-0008Pd-H3 for emacs-orgmode@gnu.org; Mon, 10 Aug 2020 03:12:40 -0400 Received: from smtp-bc0e.mail.infomaniak.ch ([2001:1600:4:17::bc0e]:54871) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k51z3-0000pC-7e for emacs-orgmode@gnu.org; Mon, 10 Aug 2020 03:12:39 -0400 Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4BQ6bw6FQmzlhJTP for ; Mon, 10 Aug 2020 09:12:28 +0200 (CEST) Received: from [IPv6:2a02:1205:34e7:e4f0:f33c:8091:2c84:e191] (unknown [IPV6:2a02:1205:34e7:e4f0:f33c:8091:2c84:e191]) by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4BQ6bw3V1Fzlh8TX for ; Mon, 10 Aug 2020 09:12:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fuhrer.ch; s=20191114; t=1597043548; bh=D2jtTbYHFGoDH6Lmhx5bSRfHjkEYdJRlqWhXK9IVBp8=; h=To:From:Subject:Date:From; b=wV7OT3Tc/kQFmRShPAwwMS6IuxM7Vo53YmshvSvj62AzkPU93bfx3PTvIhbbSAbbC C0V6yPirb6mPrgGehJroYflasWCFZi4eaPhIJaOd0gNwtsXQSCx6mz7JKr2mjW21zO iZi6ADwKP0Ysgwt+p+zf9pq+QmoDFDasqltg4xy0= To: emacs-orgmode@gnu.org From: claude fuhrer Subject: Computing week number Message-ID: <0aa28fdf-9fc1-96bc-9d19-60723edef5a2@fuhrer.ch> Date: Mon, 10 Aug 2020 09:12:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8 X-Antivirus-Code: 0x100000 Received-SPF: pass client-ip=2001:1600:4:17::bc0e; envelope-from=claude@fuhrer.ch; helo=smtp-bc0e.mail.infomaniak.ch X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fuhrer.ch header.s=20191114 header.b=wV7OT3Tc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: ZgOB5vQ3VEGl Hi everybody It seems that I don't understand how to compute the week number in emacs. I use emacs 26.3 and org mode version 9.3.7 (release_9.3.7-705-gea9463 1) When I display the agenda (command "org-agenda" + "a"), today 10th of august I have a header like: "Monday     10 August 2020 W33      (I suppose that W33 means week 33)" 2) In my lisp configuration file I have a command like : (insert (format-time-string " %d %B %Y (CW %W)\n" (current-time))). This line display something like "10 August 2020 (CW 32)" Do you have an idea what I done wrong ? Thank you in advance for your help!