From: Charles Sebold <csebold@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Week number
Date: Tue, 14 Oct 2008 16:09:42 -0500 [thread overview]
Message-ID: <uiqruubmx.fsf@gmail.com> (raw)
In-Reply-To: mailman.1043.1224016162.25473.help-gnu-emacs@gnu.org
On 14 Oct 2008, Xavier Maillard wrote:
> I compared the results of your function and the result from a
> simple (format-time-string "%W") for the current date and I got
> week 42 for the former and week 41 for the latter. Can you
> explain this ?
No, I can't. Unless you could try it with the date for 1 January and
see if you get week "0" or week "1" with each; maybe that's the
problem.
What I see here suggests that 42 is correct:
http://en.wikipedia.org/wiki/ISO_8601
--
Charles Sebold 14th of October, 2008
next prev parent reply other threads:[~2008-10-14 21:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.994.1223980354.25473.help-gnu-emacs@gnu.org>
2008-10-14 12:43 ` Week number Charles Sebold
2008-10-14 12:53 ` Charles Sebold
2008-10-14 20:25 ` Xavier Maillard
2008-10-14 21:13 ` Charles Sebold
2008-10-14 21:37 ` Peter Dyballa
2008-10-14 21:42 ` Charles Sebold
2008-10-15 8:25 ` Xavier Maillard
[not found] ` <mailman.1043.1224016162.25473.help-gnu-emacs@gnu.org>
2008-10-14 21:09 ` Charles Sebold [this message]
2008-10-14 21:56 ` Drew Adams
2008-10-15 8:25 ` Xavier Maillard
2008-10-15 21:28 ` Harald Hanche-Olsen
2008-10-14 6:25 Xavier Maillard
2008-10-14 13:08 ` Paul R
2008-10-14 20:25 ` Xavier Maillard
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uiqruubmx.fsf@gmail.com \
--to=csebold@gmail.com \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.