From: Lars Ingebrigtsen <larsi@gnus.org>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: 54756@debbugs.gnu.org
Subject: bug#54756: 28.1; faulty date interpretation
Date: Thu, 07 Apr 2022 13:24:50 +0200 [thread overview]
Message-ID: <87k0c1b0fx.fsf@gnus.org> (raw)
In-Reply-To: <C151C344-ED62-48BA-98DF-ACCBCF2257DE@Web.DE> (Peter Dyballa's message of "Wed, 6 Apr 2022 21:38:22 +0200")
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> I think it's close to impossible to reproduce the bug when launching GNU Emacs with -Q, because dates in diary file are read and they must be interpreted the proper way, the European and natural way, as day - month - year (or in reverse):
>
> %%(diary-anniversary 4 6 1862) Geburt von Karl Valentin in München-Au als Valentin Ludwig Fey %d Jahren
> %%(diary-anniversary 4 6 2020) Tod von Rupert Neville Hine
>
> Today all my versions of GNU Emacs 28.x report that it's the birth date of Karl Valentin and the death date of Rupert Hine:
>
> Sunrise 06 Uhr 53, sunset 20 Uhr 04 at Friedberg (13:11 hrs daylight)
> Geburt von Karl Valentin in München-Au als Valentin Ludwig Fey 160 Jahren
> Tod von Rupert Neville Hine
>
> The versions 27.x display that today's date (probably) was not much meaningful for the two men.
I'm not sure I understand what you mean here, but perhaps I'm not
reproducing the problem correctly.
If I put the following inn ~/.emacs.d/diary, and then start Emacs 27.1
with -Q, and then say `M-x diary':
%%(diary-anniversary 4 7 1862) Geburt von Karl Valentin in München-Au als Valentin Ludwig Fey %d Jahren
%%(diary-anniversary 4 7 2020) Tod von Rupert Neville Hine
I get
[-- Attachment #2: Type: image/png, Size: 36081 bytes --]
[-- Attachment #3: Type: text/plain, Size: 324 bytes --]
I get exactly the same in Emacs 28.1.
I never use diary, so I don't know whether this is what's expected or
not. Could you explain what you expected to see here, or whether you're
seeing something else in Emacs 28.1?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-04-07 11:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 19:38 bug#54756: 28.1; faulty date interpretation Peter Dyballa
2022-04-07 11:24 ` Lars Ingebrigtsen [this message]
2022-04-07 17:23 ` Peter Dyballa
2022-04-08 13:03 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0c1b0fx.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=54756@debbugs.gnu.org \
--cc=Peter_Dyballa@Web.DE \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.