all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: 43759@debbugs.gnu.org
Subject: bug#43759: Emacs Calc date conversion
Date: Fri, 2 Oct 2020 10:53:59 +0000	[thread overview]
Message-ID: <PR3PR06MB68434775FF3968BA34A808CA84310@PR3PR06MB6843.eurprd06.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

My Emacs version is GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.6 (Build 19G73)) of 2020-07-29

I do the following expériment under Emacs CC

;; Set date format as Unix
dd U RET
;; Enter 1991-01-09T06:00 in Unix format, cf. date -d '1991-01-09T06:00+00' '+%s'
' <663400800> RET
;; Set format as ISO
dd YYYY-MM-DD HH:mm:SS RET

Then the display is <1991-01-10 06:00>, but I expected the 9th and not the 10th of January.

  Vincent.

[-- Attachment #2: Type: text/html, Size: 2287 bytes --]

             reply	other threads:[~2020-10-02 10:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-02 10:53 Vincent Belaïche [this message]
2020-10-02 14:22 ` bug#43759: Emacs Calc date conversion Lars Ingebrigtsen
2020-10-02 17:31   ` Mattias Engdegård
2020-10-02 20:13     ` Vincent Belaïche
2020-10-02 20:27       ` Mattias Engdegård

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=PR3PR06MB68434775FF3968BA34A808CA84310@PR3PR06MB6843.eurprd06.prod.outlook.com \
    --to=vincent.b.1@hotmail.fr \
    --cc=43759@debbugs.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 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.