Re: CSV agenda export formats some day and month values as single digits

2022-12-27 Thread Ihor Radchenko
Max Nikulin writes: >> The reason I suggest using the default value is that >> `calendar-iso-date-display-form' is a defcustom. > > Thank you, I did not noticed that it is a user option. I should think > more on this. If a user has a reason to override the ISO format, perhaps > it should be res

Re: CSV agenda export formats some day and month values as single digits

2022-12-26 Thread Max Nikulin
On 26/12/2022 17:34, Ihor Radchenko wrote: Max Nikulin writes: (let ((calendar-date-display-form calendar-iso-date-display-form)) ... The reason I suggest using the default value is that `calendar-iso-date-display-form' is a defcustom. Thank you, I did not noticed that it is a user option. I

Re: CSV agenda export formats some day and month values as single digits

2022-12-26 Thread Ihor Radchenko
Max Nikulin writes: > On 26/12/2022 16:23, Ihor Radchenko wrote: >> >> Fixed on bugfix now. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9c79aedec > > I have never heard about `calendar-date-display' before so I am curious > under which circumstances the following will not

Re: CSV agenda export formats some day and month values as single digits

2022-12-26 Thread Max Nikulin
On 26/12/2022 16:23, Ihor Radchenko wrote: Fixed on bugfix now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9c79aedec I have never heard about `calendar-date-display' before so I am curious under which circumstances the following will not work: (let ((calendar-date-displ

Re: CSV agenda export formats some day and month values as single digits

2022-12-26 Thread Ihor Radchenko
[Adding Org mailing list back to CC] "David O'Toole" writes: > Here is a script and some files that reproduce the issue for me in a fresh > "emacs -Q". > > csv-test.el --- the test script > csv-test.org --- the file to pull agenda items from > csv-test.csv --- the output Thanks! Fixed on bugfi

Re: CSV agenda export formats some day and month values as single digits

2022-12-25 Thread Ihor Radchenko
"David O'Toole" writes: > 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 Could you please provide detailed steps how to obtain the erroneous CSV output? See https://orgmode.org/manual/Feedb

CSV agenda export formats some day and month values as single digits

2022-12-23 Thread David O'Toole
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 i