emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: agzam.ibragimov@gmail.com
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: Bug: org-read-date ignores hours?
Date: Tue, 29 Oct 2019 10:30:31 +0100	[thread overview]
Message-ID: <84wocn526g.fsf@gmail.com> (raw)
In-Reply-To: <CAJZi2B3xqEv+xDLoNEsbV9ehrzUR4dUpSLaYk8ouG0dGYfmopA@mail.gmail.com> (agzam ibragimov's message of "Thu, 24 Oct 2019 10:45:39 -0700")

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!

  reply	other threads:[~2019-10-29  9:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23  3:47 Bug: org-read-date ignores hours? Ag Ibragimov
2019-10-24  8:41 ` Marco Wahl
2019-10-24 17:45   ` agzam.ibragimov
2019-10-29  9:30     ` Marco Wahl [this message]
2020-02-11 10:18     ` Bastien
2020-02-11 12:49       ` Marco Wahl
2020-02-11 13:16         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84wocn526g.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=agzam.ibragimov@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).