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 Magne Ingebrigtsen
Subject: Re: gnus-icalendar errors in emacs 24.5
Date: Tue, 23 Feb 2016 12:41:58 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Kostas Zorbadelos <kzorba@otenet.gr> writes:

> Org file exists and has a 'Calendar' headline.
> On export of a calendar mail (attached the calendar MIME part) I get the
> attached backtrace. I get the same backtrace even when I send a gmail
> calendar invitation. Any suggestions?

[...]

> Debugger entered--Lisp error: (error "Invalid date: 2016-02-25 Πεμ")
>   signal(error ("Invalid date: 2016-02-25 Πεμ"))
>   error("Invalid date: %s" "2016-02-25 Πεμ")
>  date-to-time("2016-02-25 Πεμ")

This is definitely a bug, and it comes from here:

(cl-defmethod gnus-icalendar-event:org-timestamp ((event gnus-icalendar-event))
  "Build `org-mode' timestamp from EVENT start/end dates and recurrence info."
  (let* ((start (gnus-icalendar-event:start-time event))
         (end (gnus-icalendar-event:end-time event))
         (start-date (format-time-string "%Y-%m-%d %a" start))

%a is the locale's day name, and that's not something `date-to-time' can
parse.  But I'm not familiar with gnus-icalendar, so I'm not sure what
the right fix is here.

Jan, is the week day supposed to be in these date strings at all?

-- 
(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]