all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Charles Sebold <csebold@gmail.com>
To: Xavier Maillard <xma@gnu.org>
Cc: help-gnu-emacs@gnu.org, Charles Sebold <csebold@gmail.com>
Subject: Re: Week number
Date: Tue, 14 Oct 2008 16:13:37 -0500	[thread overview]
Message-ID: <ud4i2ubge.fsf@gmail.com> (raw)
In-Reply-To: <200810142025.m9EKP5DO005068@zogzog.maillard.mobi> (Xavier Maillard's message of "Tue\, 14 Oct 2008 22\:25\:05 +0200")

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 ?

However, looking at this more closely, I think that maybe it's a
question of whether you want ISO weeks or not.  It's a thornier problem
than I first realized.

http://en.wikipedia.org/wiki/ISO_week_date
-- 
Charles Sebold
http://merbc.invigorated.org/
http://triablogue.blogspot.com/




  reply	other threads:[~2008-10-14 21:13 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 [this message]
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
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=ud4i2ubge.fsf@gmail.com \
    --to=csebold@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xma@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.