emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Timezone is inserted in middle of range [9.7 (9.7-??-e90a8a69a)]
@ 2024-01-22 14:37 Zaz
  2024-01-30 13:51 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Zaz @ 2024-01-22 14:37 UTC (permalink / raw)
  To: emacs-orgmode

When I set Org to include the timezone in the timestamp and schedule a
task for 17:00-18:00, the correct format appears in the autocompletion,
"17:00-18:00 EST"; but when I press enter, the timezone is inserted in
the middle: "17:00 EST-18:00", which is not parsed correctly by Org agenda.

------------------------------------------------------------------------


Minimal Doom configuration:

`init.el`:

```
(doom! :lang
       org)
```

`config.el`:

```
(after! org
        (setq org-time-stamp-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a
%H:%M %Z>")))
```



Emacs  : GNU Emacs 29.1
Package: Org mode version 9.7 (9.7-??-e90a8a69a)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] Timezone is inserted in middle of range [9.7 (9.7-??-e90a8a69a)]
  2024-01-22 14:37 [BUG] Timezone is inserted in middle of range [9.7 (9.7-??-e90a8a69a)] Zaz
@ 2024-01-30 13:51 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-01-30 13:51 UTC (permalink / raw)
  To: Zaz; +Cc: emacs-orgmode

Zaz <zaz.yxw@gmail.com> writes:

> When I set Org to include the timezone in the timestamp and schedule a
> task for 17:00-18:00, the correct format appears in the autocompletion,
> "17:00-18:00 EST"; but when I press enter, the timezone is inserted in
> the middle: "17:00 EST-18:00", which is not parsed correctly by Org agenda.

> ...

> (after! org
>         (setq org-time-stamp-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a
> %H:%M %Z>")))

Changing `org-time-stamp-formats' constant is not supported by Org mode.
It may or may not work.
Not a bug.
Canceled.

-- 
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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-30 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-22 14:37 [BUG] Timezone is inserted in middle of range [9.7 (9.7-??-e90a8a69a)] Zaz
2024-01-30 13:51 ` Ihor Radchenko

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).