From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: Bug: org-read-date ignores hours? Date: Tue, 29 Oct 2019 10:30:31 +0100 Message-ID: <84wocn526g.fsf@gmail.com> References: <84h83yr0wq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49428) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNpn-00081z-GG for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 05:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPNpm-0000Vf-Ip for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 05:30:39 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPNpm-0000QN-Cg for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 05:30:38 -0400 Received: by mail-wr1-x42e.google.com with SMTP id n15so12765273wrw.13 for ; Tue, 29 Oct 2019 02:30:38 -0700 (PDT) In-Reply-To: (agzam ibragimov's message of "Thu, 24 Oct 2019 10:45:39 -0700") 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: agzam.ibragimov@gmail.com Cc: org-mode-email agzam.ibragimov@gmail.com writes: > While fooling around with capture templates, I have also noticed this: > > (progn > (setq org-popup-calendar-for-date-prompt t) > (read-date t))) > > When prompted, if you type something like "13:00" - it returns correct, > expected datetime. > > But, if you do: > > (progn > (setq org-popup-calendar-for-date-prompt nil) > (read-date t))) > > And again, type some time value in the prompt - it returns date with no > time. This seems to be a bug. I can confirm this behavior with org-read-date instead of read-date. And at first glance I also think this is a bug. I capture this issue for someday. But of course anyone please feel free to fix this. The same holds for the idea to add "h" (hours) and possibly "M" (minutes) as a further way to specify the hour via org-read-date. Thanks!