From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: not an org time string? Date: Tue, 3 Mar 2020 16:08:13 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43104) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9GeA-0002pn-52 for emacs-orgmode@gnu.org; Tue, 03 Mar 2020 18:08:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9Ge9-0007SY-4k for emacs-orgmode@gnu.org; Tue, 03 Mar 2020 18:08:18 -0500 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:36039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9Ge8-0007R6-UO for emacs-orgmode@gnu.org; Tue, 03 Mar 2020 18:08:17 -0500 Received: by mail-lj1-x22f.google.com with SMTP id 195so5481475ljf.3 for ; Tue, 03 Mar 2020 15:08:15 -0800 (PST) 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org seems this used to work but does not now. what's a good replacement? (defun alpha-org-daynum-from-ts (ts) ;; internal time ;; (org-time-string-to-time "[2000-01-01]") ;; (org-time-string-to-time "<2000-01-01>") ;; (org-time-string-to-time "") (time-to-days (org-time-string-to-time ts))) (defun alpha-org-daynum-from-now () (alpha-org-daynum-from-ts "")) -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html