emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* CSV agenda export formats some day and month values as single digits
@ 2022-12-24  3:49 David O'Toole
  2022-12-25 12:57 ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: David O'Toole @ 2022-12-24  3:49 UTC (permalink / raw)
  To: emacs-orgmode

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

Version: Org mode version 9.6 (release_9.6-3-ga4d38e @
/usr/local/share/emacs/29.0.60/lisp/org/)

CSV export for the agenda is formatting January 1, 2023 as "2023-1-1" and
not "2023-01-01".
The raw output is here: https://pastebin.com/raw/EyN1JbhP

The last two lines both have "2023-1-1".
This is incorrect because:

Expression: (format-time-string "%04Y-%02m-%02d" (date-to-time "2023-1-1"))
Result: "1999-12-31"

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

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

end of thread, other threads:[~2022-12-27 10:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-24  3:49 CSV agenda export formats some day and month values as single digits David O'Toole
2022-12-25 12:57 ` Ihor Radchenko
     [not found]   ` <CAAz1J52RFMMay3YD7RSydMfp_zHQsNfAiyhT=1J9Hq0jqkdFmg@mail.gmail.com>
     [not found]     ` <CAAz1J51L30UjqxDZhxO4Kb5ymDJ24Qjw8tVt5iRGXCsoVfde9Q@mail.gmail.com>
2022-12-26  9:23       ` Ihor Radchenko
2022-12-26 10:19         ` Max Nikulin
2022-12-26 10:34           ` Ihor Radchenko
2022-12-26 15:07             ` Max Nikulin
2022-12-27 10:20               ` 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).