Uwe Brauer <o...@mat.ucm.es> writes:

>    > Hello,
>    > Uwe Brauer <o...@mat.ucm.es> writes:
>
>
>    > None. The export to CSV looks correct and complete. Conversion to CSV
>    > does not pretend converting anything else, in particular timestamps, to
>    > another format.
>
> Ok,
>
> Now how could that be achieved? I seem not the only one missing that a
> feature.
> https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00398.html

For example:

  (defun my-format-timestamps (cell)
    (org-quote-csv-field
     (replace-regexp-in-string org-ts-regexp-both "\\1" cell)))

  (defun my-tbl-to-csv (table params)
    (orgtbl-to-csv table
                   (org-combine-plists '(:fmt my-format-timestamps) params)))


Reply via email to