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

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

Re: gnus-icalendar errors in emacs 24.5


From: Lars Ingebrigtsen
Subject: Re: gnus-icalendar errors in emacs 24.5
Date: Tue, 23 Feb 2016 21:16:27 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Jan Tatarik <jan.tatarik@gmail.com> writes:

> How about this? It's a patch against the emacs-25 branch, I was not able
> to connect to the gnus git. 

The Gnus git repository is now read-only (and only with anonymous
access).

> diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
> index 4faef06..82a649f 100644
> --- a/lisp/gnus/gnus-icalendar.el
> +++ b/lisp/gnus/gnus-icalendar.el
> @@ -401,8 +401,8 @@ gnus-icalendar-event:org-timestamp
>           (end-time (format-time-string "%H:%M" end))
>           (end-at-midnight (string= end-time "00:00"))
>           (start-end-date-diff (/ (float-time (time-subtract
> -                                        (date-to-time end-date)
> -                                        (date-to-time start-date)))
> +                                        (org-time-string-to-time end-date)
> +                                        (org-time-string-to-time 
> start-date)))

Yes, this seems to fix the problem.  I'll apply to emacs-25 and push.

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



reply via email to

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