From mboxrd@z Thu Jan 1 00:00:00 1970 From: debaditya@posteo.net Subject: How to format dates in org-table-export (Format: orgtbl-to-csv) Date: Fri, 18 Nov 2016 19:31:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7nwf-0003sU-R5 for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 13:31:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7nwc-00018p-PJ for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 13:31:29 -0500 Received: from mout02.posteo.de ([185.67.36.66]:43869) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7nwc-00018B-JF for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 13:31:26 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0FCBD20927 for ; Fri, 18 Nov 2016 19:31:22 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3tL65Q3HQ8z105l for ; Fri, 18 Nov 2016 19:31:21 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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