all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulf Jasper <ulf.jasper@web.de>
To: "Christian" <christian.lynbech@tieto.com>
Cc: discussions <emacs-devel@gnu.org>
Subject: Re: Timezone handling problem in icalendar.el/icalendar-import-*
Date: Thu, 17 Dec 2009 21:57:57 +0100	[thread overview]
Message-ID: <84k4wlxqqy.fsf@web.de> (raw)
In-Reply-To: <ytqpk4wlc3ob.fsf@uw000475.eu.tieto.com> (Christian's message of "Thu, 17 Dec 2009 11:09:40 +0100")

"Christian" <christian.lynbech@tieto.com> writes:

> I have attached an example below. I have crossed out names and email
> addresses but otherwise this is how it appears from Exchange.
>
> The appointment in question would appear in Outlook as occuring between
> 13:00 and 14:30 (GMT+01:00) on December the 9.

I checked the specs: Your idea to replace "-1" with "5" appears to be
absolutely correct.

RFC2445 (ical):

   Each BYDAY value can also be preceded by a positive (+n) or negative
   (-n) integer. If present, this indicates the nth occurrence of the
   specific day within the MONTHLY or YEARLY RRULE. For example, within
   a MONTHLY rule, +1MO (or simply 1MO) represents the first Monday
   within the month, whereas -1MO represents the last Monday of the
   month. If an integer modifier is not present, it means all days of
   this type within the specified frequency. For example, within a
   MONTHLY rule, MO represents all Mondays within the month.

man tzset:

   Mm.w.d This specifies day d (0 <= d <= 6) of week w (1 <= w <= 5) of
   month m (1 <= m <= 12).  Week 1 is the first week in which day d
   occurs and week 5 is the last week in which day d occurs.  Day 0 is a
   Sunday.


I'll fix it in CVS (and add some unit tests).

Thanks for investigating!
Ulf

-- 
Herzlichen Glückwunsch noch einmal, vergessen Sie Ihre Angaben,und dies 
für die Art und Weise von der öffentlichen Bekanntmachung.




  reply	other threads:[~2009-12-17 20:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-16 13:39 Timezone handling problem in icalendar.el/icalendar-import-* Christian
2009-12-16 14:18 ` Andreas Schwab
2009-12-16 18:38   ` Christian Lynbech
2009-12-16 20:40 ` Ulf Jasper
2009-12-17 10:09   ` Christian
2009-12-17 20:57     ` Ulf Jasper [this message]
2009-12-18  7:47       ` Christian
2009-12-18 19:38         ` Ulf Jasper
2009-12-18 22:40           ` Christian Lynbech
2009-12-19 12:16             ` Ulf Jasper

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=84k4wlxqqy.fsf@web.de \
    --to=ulf.jasper@web.de \
    --cc=christian.lynbech@tieto.com \
    --cc=emacs-devel@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.