unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43759: Emacs Calc date conversion
@ 2020-10-02 10:53 Vincent Belaïche
  2020-10-02 14:22 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent Belaïche @ 2020-10-02 10:53 UTC (permalink / raw)
  To: 43759

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

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

end of thread, other threads:[~2020-10-02 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02 10:53 bug#43759: Emacs Calc date conversion Vincent Belaïche
2020-10-02 14:22 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).