bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33277: 25.1; icalendar-import-file incorrectly imports events with s


From: Ulf Jasper
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]