From: Ihor Radchenko <yantar92@posteo.net>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to insert, interactively org-time-stamp with any time
Date: Mon, 22 May 2023 08:41:26 +0000 [thread overview]
Message-ID: <87ttw4oj0p.fsf@localhost> (raw)
In-Reply-To: <87a5xwajiu.fsf@mat.ucm.es>
Uwe Brauer <oub@mat.ucm.es> writes:
> Using C-u C-c .
>
> Prompts a date and the actual time, however how can I change the actual
> time? No key seems to allow that, so only end up with for example
>
> <2023-05-22 09:45>
>
> But I would like for example to chose
>
> <2023-05-22 16:45>
>
> How can I achieve that?
C-u C-c . 2023-05-22 16:45 <RET>
or (is you do it today)
C-u C-c . 16:45 <RET>
> BTW the way the time stamp is displayed is
>
> <22.05.2023 09:45 >
>
> While
> ,----
> | org-time-stamp-formats is a variable defined in ‘org_init.el’.
> |
> | Its value is ("<%Y-%m-%d>" . "<%Y-%m-%d %H:%M>")
> `----
>
> And my setting is
>
> '(org-time-stamp-custom-formats '("%d.%m.%Y" . "%d.%m.%Y %I:%M %p"))
>
>
> Not sure what the %p
That's your setting, no? It looks like you have no equivalent of AM/PM
in your locale, so %p expands to empty string, prepended by space, as
you instructed. On my side, your value of
`org-time-stamp-custom-formats' works just fine.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2023-05-22 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-22 7:54 how to insert, interactively org-time-stamp with any time Uwe Brauer
2023-05-22 8:41 ` Ihor Radchenko [this message]
2023-05-22 8:42 ` Uwe Brauer
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=87ttw4oj0p.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=oub@mat.ucm.es \
/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).