[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] TIMEZONE property for ical export
From: |
Nicolas Goaziou |
Subject: |
Re: [O] TIMEZONE property for ical export |
Date: |
Sat, 19 Aug 2017 21:25:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Eric Abrahamsen <address@hidden> writes:
>> BTW, as long as Org doesn't support time zones, the "ox-icalendar"
>> property may be prefixed with "ICALENDAR_" (e.g., ICALENDAR_TZ).
>
> Done!
I realize this is not a great idea since other properties do not have
"ICALENDAR_" prefix. Sorry about that. I suggest to go back to TIMEZONE.
> How does the attached patch look?
> - (cat (org-icalendar-get-categories entry info)))
> + (cat (org-icalendar-get-categories entry info))
> + (tz (org-element-property :ICALENDAR_TZ entry)))
Note that "ICALENDAR_TZ" is not inherited in this case. Neither are
LOCATION and so on, tho. You would need to use
`org-export-get-node-property' in conjunction with
`org-property-inherit-p'.
> -event belongs to.
> +event belongs to. TIMEZONE specifies a time zone for this event
> +only.
Missing space.
Could you add a commit message and an ORG-NEWS entry?
Regards,