emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: claude fuhrer <claude@fuhrer.ch>
To: emacs-orgmode@gnu.org
Subject: Computing week number
Date: Mon, 10 Aug 2020 09:12:27 +0200	[thread overview]
Message-ID: <0aa28fdf-9fc1-96bc-9d19-60723edef5a2@fuhrer.ch> (raw)

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!




             reply	other threads:[~2020-08-10  7:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10  7:12 claude fuhrer [this message]
2020-08-10  8:38 ` Computing week number tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0aa28fdf-9fc1-96bc-9d19-60723edef5a2@fuhrer.ch \
    --to=claude@fuhrer.ch \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).