From: Ulf Jasper <ulf.jasper@web.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 33277@debbugs.gnu.org, Stefan van der Walt <stefanv@berkeley.edu>
Subject: bug#33277: 25.1; icalendar-import-file incorrectly imports events with same start/end time
Date: Thu, 05 Sep 2019 21:32:04 +0200 [thread overview]
Message-ID: <871rwuy1xn.fsf@panama> (raw)
In-Reply-To: <87wogq3uj7.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Wed, 10 Jul 2019 15:10:04 +0200")
Am 10.07.2019 um 15:10 (+0200) schrieb Lars Ingebrigtsen:
> Stefan van der Walt <stefanv@berkeley.edu> writes:
>
>> When importing an ical file containing an event with the same start and
>> end time, that event is converted to an all-day event.
>
> [...]
>
>> I import it using:
>>
>> (icalendar-import-file "/tmp/basic.ics" "/tmp/basic.diary")
>>
>> And in basic.diary see:
>>
>> 11/5/2018 event with same start/end time
>
> But is that the same as an all-day event?
>
>> Instead of:
>>
>> 11/5/2018 12:00-12:00
>
> Yes, that would be more logical...
>
>> The source code (icalendar.el) mentions the following:
>>
>> ;; Please note:
>> ;; - Diary entries which have a start time but no end time are assumed to
>> ;; last for one hour when they are exported.
>>
>> Still, then I would expect the diary entry to be:
>>
>> 11/5/2018 12:00-13:00
This note is about export, i.e. diary to ical.
>
> This seems to all be very inconsistent. I rarely use diary myself, but
> what would users expect here? Exporting the event with 12:00-12:00
> would be consistent, at least.
I'll have a look.
next prev parent reply other threads:[~2019-09-05 19:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 18:25 bug#33277: 25.1; icalendar-import-file incorrectly imports events with same start/end time Stefan van der Walt
2019-07-10 13:10 ` Lars Ingebrigtsen
2019-09-05 19:32 ` Ulf Jasper [this message]
2019-09-09 16:57 ` Ulf Jasper
2019-09-09 17:09 ` Stefan van der Walt
2019-09-09 17:09 ` 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=871rwuy1xn.fsf@panama \
--to=ulf.jasper@web.de \
--cc=33277@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=stefanv@berkeley.edu \
/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.