[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: |
Nicolas Goaziou |
Subject: |
Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem |
Date: |
Mon, 08 Jan 2018 15:32:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Uwe Brauer <address@hidden> writes:
> > Hello,
> > Uwe Brauer <address@hidden> 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)))
- [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/07
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Nicolas Goaziou, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem,
Nicolas Goaziou <=
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Nicolas Goaziou, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Nicolas Goaziou, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Nicolas Goaziou, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Nicolas Goaziou, 2018/01/08
- Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem, Uwe Brauer, 2018/01/09