emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org table with datestamp convert to csv and then xlsx or ods: pr


From: Uwe Brauer
Subject: Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem
Date: Mon, 08 Jan 2018 17:29:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

    > Uwe Brauer <address@hidden> writes:

    > I have no trouble calling M-x org-table-export RET then choosing a file
    > name and forcing my-tbl-to-csv during prompt.

Hm I had to copy org-export-table into my addons file and
        (let* ((formats '("my-tbl-to-csv" "orgtbl-to-csv" "orgtbl-to-tsv"  
"orgtbl-to-latex"
                          "orgtbl-to-html" "orgtbl-to-generic"
                          "orgtbl-to-texinfo" "orgtbl-to-orgtbl"
                          "orgtbl-to-unicode"))

It seems that the variable org-table-export-default-format is ignored, a
bug?

    > Otherwise, just evaluate

    >   (org-table-export "/file/name" "my-tbl-to-csv")

Right, thanks. A last question though.

I have set

org-time-stamp-custom-formats to
 (" %d.%m.%y " . " %d.%m.%y %a %H:%M "))

'(org-time-stamp-custom-formats (quote (" %d.%m.%y " . " %d.%m.%y %a %H:%M ")))

And indeed in my org files the timestamp are displayed 
for example as <19.12.17>.

However when I use
org-toggle-time-stamp-overlays
they are displayed as <2017-12-19 Tue>
the point is your conversion function will lead to
2017-12-19 Tue


which is much better for my purpose since the < > are deleted.



I am still wondering whether the format I chose via 
org-time-stamp-custom-formats
could be somehow used, so  that the result could be
19.12.17

But maybe this is impossible

Thanks

Uwe Brauer 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]