emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to format dates in org-table-export (Format: orgtbl-to-csv)
@ 2016-11-18 18:31 debaditya
  0 siblings, 0 replies; only message in thread
From: debaditya @ 2016-11-18 18:31 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I am trying to export an org table to csv, which contain dates in the 
format <%m-%d-%Y>, this i have achieved by including

(custom-set-variables
  '(org-time-stamp-custom-formats (quote ("<%m-%d-%Y>" . "<%Y-%m-%d>"))))

in my init file.

Now as this is an overlay, when I am trying to export the org table, the 
output dates are getting formatted as the default orgmode date format 
<%Y-%m-%d %a>. Naively, I tried to add in the init file

(custom-set-variables '(org-export-date-timestamp-format "%m-%d-%Y" ))

which does not change the default date format being exported.

I guess the default formatting of the orgtbl-to-csv needs to be tweaked 
for this purpose, but I may be wrong.

Any input will be very much appreciated.

Thanks
Deb

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-18 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18 18:31 How to format dates in org-table-export (Format: orgtbl-to-csv) debaditya

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).