From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oJPEL4ZaC2LsFwAAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 08:47:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +AqeLIZaC2K8RAAAauVa8A (envelope-from ) for ; Tue, 15 Feb 2022 08:47:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3DB70358FD for ; Tue, 15 Feb 2022 08:47:18 +0100 (CET) Received: from localhost ([::1]:36780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJsYP-0006vy-DP for larch@yhetil.org; Tue, 15 Feb 2022 02:47:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJsWQ-0006do-Nv for emacs-orgmode@gnu.org; Tue, 15 Feb 2022 02:45:14 -0500 Received: from mail-0301.mail-europe.com ([188.165.51.139]:58724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJsWO-0007x4-CD for emacs-orgmode@gnu.org; Tue, 15 Feb 2022 02:45:14 -0500 Date: Tue, 15 Feb 2022 07:44:29 +0000 To: emacs-orgmode@gnu.org From: Eliza Velasquez Subject: [BUG] icalendar export fails with SCHEDULED/DEADLINE entries [9.5.2 (9.5.2-gbc8c3e @ /home/eliza/.emacs.d/straight/build/org/)] Message-ID: <87fsokefqf.fsf@eliza.sh> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=eliza@eliza.sh; helo=mail-0301.mail-europe.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eliza Velasquez Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644911238; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=F046LyXetGBAxQRvlXB16EE0lBaZUP/gX6NZnqxJydk=; b=fHV86WYKD/duX1gFL2SuzNvwSvmdy92mW3jcYCBu69okDmXX6svhPJc7qNRCeIw3I+Jgiz 2vvN7XwV/R+/8bd/jieqK5BXVQbn069OdAUGMqSVk/CrFUGTfj63UsU2eZW7aNkKA9IwXt +iEHnberj5p0Y0yp+2ysFw6bxQXhe9jkvRAu/RDqpUDmxhqGwY0JuXetiKmYVjGt88yvuf AY2W8l/egNDZnfASWHNgAZTDwZKxvG5/dBvbG/3LU9wDJOFYlBA1r7PS5qSIsJ+UxUymQb zPuv5JXLBapr562Uz/Tv9VUQHWGzA+uiWKB+QrPzz6kfNLYRyBZhQuFTyRWXBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644911238; a=rsa-sha256; cv=none; b=mkAoRqCaQnl3aO8pAdR5yMro1twtmTbROvehwKVmFRAPC8feEnIYojCYNKiixmMfGK9j3F TPAEjryWXU88xBdEi7twIpRxGNePq5dJkRdJLsf+TduHegdxQKu7fGIBbRNpIuwGOgXdoj 41fKwsDoXhggxmLZNE/JKgvSNEEgHGefw1AansllhgAY6tmOBx003Vg731HhJG3zEGZdsI LlciIcH2ZglB5/UszeRTBJxV4L9H6lGz/iibgYfJiDR88bFceKuKeLMIDYNObAMT4/flmy DZtEvpRLV8B22LaNZRGdkrbsZA/y8exMrc0bERcP4a30fwUd7vyo62o0VlCC6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3DB70358FD X-Spam-Score: -3.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: P7ssOHAqda/4 Hello, It seems like `org-icalendar-export-to-ics' fails to consider the SCHEDULED and DEADLINE properties. Consider the following org file `foo.org': * foo SCHEDULED: <2022-02-15 Tue> When invoking `org-icalendar-export-to-ics', we get the following `foo.ics' file. BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:test PRODID:-//Eliza Velasquez//Emacs with Org mode//EN X-WR-TIMEZONE:PST X-WR-CALDESC: CALSCALE:GREGORIAN END:VCALENDAR As you can see, there is no entry for `foo'. Changing the file so that the timestamp is in the body rather than the SCHEDULED property (though I'm not sure "property" is the correct term here, given that it's not a PROPERTY)... * foo <2022-02-15 Tue> ...exports as expected. BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:test PRODID:-//Eliza Velasquez//Emacs with Org mode//EN X-WR-TIMEZONE:PST X-WR-CALDESC: CALSCALE:GREGORIAN BEGIN:VEVENT DTSTAMP:20220215T074144Z UID:TS1-3d9795cd-8430-49dd-97d7-f1fcc10d814d DTSTART;VALUE=3DDATE:20220215 DTEND;VALUE=3DDATE:20220216 SUMMARY:foo DESCRIPTION:<2022-02-15 Tue> CATEGORIES:test END:VEVENT END:VCALENDAR I noticed this when trying to use org-caldav, and it seems some others have run into this issue as well. At least, I'm pretty sure the two bugs are caused by the same issue. Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24= .30, cairo version 1.16.0) Package: Org mode version 9.5.2 (9.5.2-gbc8c3e @ /home/eliza/.emacs.d/strai= ght/build/org/) -- Eliza