emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: Ag Ibragimov <agzam.ibragimov@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-read-date ignores hours?
Date: Thu, 24 Oct 2019 10:41:09 +0200	[thread overview]
Message-ID: <84h83yr0wq.fsf@gmail.com> (raw)
In-Reply-To: <m1tv805dir.fsf@gmail.com> (Ag Ibragimov's message of "Tue, 22 Oct 2019 20:47:24 -0700")

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

  reply	other threads:[~2019-10-24  8:41 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 [this message]
2019-10-24 17:45   ` agzam.ibragimov
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=84h83yr0wq.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).