GNU bug report logs - #33277
25.1; icalendar-import-file incorrectly imports events with same start/end time

Previous Next

Package: emacs;

Reported by: Stefan van der Walt <stefanv <at> berkeley.edu>

Date: Mon, 5 Nov 2018 18:46:02 UTC

Severity: normal

Found in version 25.1

Done: Ulf Jasper <ulf.jasper <at> web.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan van der Walt <stefanv <at> berkeley.edu>
Cc: 33277 <at> debbugs.gnu.org
Subject: bug#33277: 25.1; icalendar-import-file incorrectly imports events with same start/end time
Date: Wed, 10 Jul 2019 15:10:04 +0200
Stefan van der Walt <stefanv <at> 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 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.