From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Micha=C3=ABl_Cadilhac?= Subject: Re: org-icalendar: Change dates to today in VEVENT export Date: Thu, 7 Feb 2019 12:31:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000ef81805814d0705" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1griqa-0003mw-K3 for emacs-orgmode@gnu.org; Thu, 07 Feb 2019 07:32:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1griqZ-0007ba-IQ for emacs-orgmode@gnu.org; Thu, 07 Feb 2019 07:32:04 -0500 Received: from cadilhac.name ([163.172.56.42]:55316 helo=mattermost.cadilhac.name) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1griqZ-0007aW-9r for emacs-orgmode@gnu.org; Thu, 07 Feb 2019 07:32:03 -0500 Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) by mattermost.cadilhac.name (OpenSMTPD) with ESMTPSA id 3d1dd309 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 7 Feb 2019 12:31:55 +0000 (UTC) Received: by mail-vk1-f176.google.com with SMTP id f206so1832006vke.6 for ; Thu, 07 Feb 2019 04:31:55 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --0000000000000ef81805814d0705 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Alright, so I guess this is indeed not doable out of the box. I've implemented this on my fork of org-mode: https://code.orgmode.org/michaelcadilhac/org-mode (Also two more things that may be of interest: Include tags in summaries, and give a bit more information about the timezone=E2=80=94ical.js does not recognize X-WR-TIMEZONE.) Hopefully this will be useful for someone :-) Cheers; M. On Fri, 1 Feb 2019 at 12:47, Micha=C3=ABl Cadilhac = wrote: > Hi there yall; > > I use org-icalendar to export my TODOs and events to an ics, that is then > imported in Google Calendar. As far as I can see, Google Calendar still > doesn't support VTODOs, so only the VEVENTs are relevant. *My goal is to > have my day on Google Calendar looks like my Org Agenda; *in particular > this means: > > 1. I want my repeats to appear today. > > To do this, I have to artificially bump the timestamp of the VEVENTs that > correspond to a not-DONE TODO to today (and maybe add the "72x" indicatin= g > that the TODO was scheduled 72 days ago). How can I do that? > > I believe this is not doable out of the box and that I'll have to > modify org-icalendar-entry; is that correct? > > 2. I want my DEADLINEs to show up `org-deadline-warning-days` days > before in the export. > > Again this means that I have to artificially change the date of the VEVEN= T > (and maybe add the "in 6d."). How can I do that? > > Thanks very much! > > Cheers; > M. > --0000000000000ef81805814d0705 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Alright= , so I guess this is indeed not doable out of the box.=C2=A0 I've imple= mented this on my fork of org-mode:
(Also two more things that may be of interest:= Include tags in summaries, and give a bit more information about the timez= one=E2=80=94ical.js does not recognize=C2=A0X-WR-TIMEZONE.)

<= /div>
Hopefully this will be useful for someone :-)

Cheers;
M.

On Fri, 1 Feb 2019 at 12:47, Mi= cha=C3=ABl Cadilhac <michael@ca= dilhac.name> wrote:
Hi there yall= ;

I use org-icalendar to export my TODOs and events to a= n ics, that is then imported in Google Calendar.=C2=A0 As far as I can see,= Google Calendar still doesn't support VTODOs, so only the VEVENTs are = relevant.=C2=A0 My goal is to have my day on Google Calendar looks like = my Org Agenda; in particular this means:

1.=C2= =A0 =C2=A0I want my repeats to appear today.

To do= this, I have to artificially bump the timestamp of the VEVENTs that corres= pond to a not-DONE TODO to today (and maybe add the "72x" indicat= ing that the TODO was scheduled 72 days ago).=C2=A0 How can I do that?

I believe this is not doable out of the box and that I= 'll have to modify=C2=A0org-icalendar-entry; is that correct?

2.=C2=A0 =C2=A0I want my DEADLINEs to show up `org-deadline= -warning-days`=C2=A0days before in the export.

Aga= in this means that I have to artificially change the date of the VEVENT (an= d maybe add the "in 6d.").=C2=A0 How can I do that?
Thanks very much!

Cheers;
M.=
--0000000000000ef81805814d0705--