emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@adamsinfoserv.com>
To: emacs-orgmode@gnu.org
Subject: [Bug] Date span failure in agenda w/o day of week in timestamp?
Date: Mon, 25 Apr 2022 14:38:00 +0200	[thread overview]
Message-ID: <YmaWKEzNlMXYiiRy@tahm.private> (raw)

Consider this sample file:

--------------------------------------------------
* Test with day of week

<2022-04-25 Mon 15:00>--<2022-04-26 Tue 02:00>

* Fails w/o DOW, end time at 2100 not 0200

<2022-04-28 21:00>--<2022-04-29 02:00>

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

Results in this agenda:

----------------------------------------------------------------------
Week-agenda (W17):
Monday     25 April 2022 W17
               8:00...... ----------------
              10:00...... ----------------
              12:00...... ----------------
              14:00...... ----------------
              14:31...... now - - - - - - - - - - - - - - - - - - - - - - - - -
  testdate:   15:00...... (1/2):  Test with day of week
              16:00...... ----------------
              18:00...... ----------------
              20:00...... ----------------
Tuesday    26 April 2022
  testdate:    2:00...... (2/2):  Test with day of week
Wednesday  27 April 2022
Thursday   28 April 2022
  testdate:   21:00...... (1/2):  Fails w/o DOW, end time at 2100 not 0200
Friday     29 April 2022
  testdate:   21:00...... (2/2):  Fails w/o DOW, end time at 2100 not 0200
Saturday   30 April 2022
Sunday      1 May 2022
----------------------------------------------------------------------

So if the DOW is omitted from the end date, then it defaults to 24
hours?

I discovered this using gnus-icalendar to import ical invites. Gnus
appears to omit the DOW when creating the timestamp.

I thought DOW was optional in timestamps?

Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)
GNU Emacs 28.1 (build 2, amd64-portbld-freebsd13.0, X toolkit, cairo version 1.17.4, Xaw3d scroll bars)

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com
                                    https://www.adamsinfoserv.com/


             reply	other threads:[~2022-04-25 12:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25 12:38 Russell Adams [this message]
2022-04-26  9:43 ` [Bug] Date span failure in agenda w/o day of week in timestamp? Ihor Radchenko
2022-04-26 11:37   ` Russell Adams
2022-04-26 12:17     ` Ihor Radchenko
2022-04-26 12:39       ` Russell Adams
2022-04-26 13:23         ` Ihor Radchenko
2022-10-08  4:03   ` Ihor Radchenko

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=YmaWKEzNlMXYiiRy@tahm.private \
    --to=rladams@adamsinfoserv.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).