From: agzam.ibragimov@gmail.com
To: Marco Wahl <marcowahlsoft@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: Bug: org-read-date ignores hours?
Date: Thu, 24 Oct 2019 10:45:39 -0700 [thread overview]
Message-ID: <CAJZi2B3xqEv+xDLoNEsbV9ehrzUR4dUpSLaYk8ouG0dGYfmopA@mail.gmail.com> (raw)
In-Reply-To: <84h83yr0wq.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 948 bytes --]
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.
On Thu, Oct 24, 2019 at 1:41 AM Marco Wahl <marcowahlsoft@gmail.com> wrote:
> Hi Ag,
>
> > When I use (org-read-date t) and type something like "+2m" it works as
> expected, but for
> > some reason if I type something like "+2h" it returns datetime with no
> > changes. Expected - two hours in the future. Am I missing something?
>
> AFAICS your expectation is not implemented. See function
> org-read-date-get-relative.
>
> +1 for someone trying to implement this idea.
>
>
> HTH,
> --
> Marco
>
--
Regards,
Ag.
[-- Attachment #2: Type: text/html, Size: 1454 bytes --]
next prev parent reply other threads:[~2019-10-24 17:45 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 [this message]
2019-10-29 9:30 ` Marco Wahl
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=CAJZi2B3xqEv+xDLoNEsbV9ehrzUR4dUpSLaYk8ouG0dGYfmopA@mail.gmail.com \
--to=agzam.ibragimov@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=marcowahlsoft@gmail.com \
/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).