From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: New exporter: no custom timestamps Date: Tue, 18 Sep 2012 00:19:50 +0530 Message-ID: <877grs32nl.fsf@gmail.com> References: <1347889740.96406.YahooMailNeo@web29802.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDgNE-0000Bg-Lc for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 14:48:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDgND-0008Iu-Mz for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 14:48:48 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:54170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDgND-0008Io-Ga for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 14:48:47 -0400 Received: by pbbro12 with SMTP id ro12so10838949pbb.0 for ; Mon, 17 Sep 2012 11:48:46 -0700 (PDT) In-Reply-To: <1347889740.96406.YahooMailNeo@web29802.mail.ird.yahoo.com> (Giovanni Ridolfi's message of "Mon, 17 Sep 2012 14:49:00 +0100 (BST)") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giovanni Ridolfi Cc: "n.goaziou@gmail.com" , Orgmode > Hello everybody, > > I am not able to export with custiom timestamps with the new > exporter.=C2=A0 `org-translate-time' expects "<>" and "[]" to be passed to it. I am not sure whether (all) the exporters should be changed or just the API needs to be fixed. ,---- | *** Welcome to IELM *** Type (describe-mode) for help. | ELISP> org-display-custom-times | t | ELISP> org-time-stamp-custom-formats | ("<%d/%m/%Y %A>" . "<%d/%m/%Y %A %H:%M>") |=20 | ELISP> (setq T '(timestamp | (:type inactive :value "2012-09-17 lun" :range-end nil))) | (timestamp | (:type inactive :value "2012-09-17 lun" :range-end nil)) |=20 | ELISP> (org-translate-time (org-element-property :value T)) | "2012-09-17 lun" | ELISP> (org-translate-time (format "[%s]" (org-element-property :valu= e T))) | "[17/09/2012 Monday]" | ELISP>=20 `---- > file: > --------------------------- > * [2012-09-17 lun] > ** [2013-04-28 dom] sunday > * COMMENT s > # Local Variables: > # org-display-custom-times: t > # org-time-stamp-custom-formats: ("<%d/%m/%Y %A>" . "<%d/%m/%Y %A %H:%M>") > # End: > ---------------------- Use #+BIND: > If I open the file the local variables are set. I toggle the timestamp fo= rmat=20 > > C-c C-x C-t and C-c C-e H exports to HTML with my custom timestamp in > the headline: > >

1 class=3D"timestamp-wrapper"> 17/09/2012 > luned=C3=AC

> > Whereas with the new exporter > > M-x org-export-dispatch h H > > I get the ISO format: >

1 class=3D"timestamp-wrapper">2012-09-17 > lun

> > cheers, > Giovanni > > > --=20