Wait, I was wrong—adding the c:t OPTION actually did not solve the problem. I forgot I had converted my clock-in and clock-out to plain text in an attempt to work around the problem, so it appeared to work only because it was plain text. Apologies.
Da: Peter Salazar <cycleofsong@gmail.com>
Inviato: Venerdì 9 Novembre 2012 10:50
Hi, Peter,
> I'm exporting to HTML and trying to get my clock-in and clock-out
> times to export as well, but it's not working.
> My org file looks like this:
> #+OPTIONS: d:t timestamp:tFIRST : always, please, always. Please, always,
> * foo
> CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] => 0:01
> foo.
>
did I already say always?
please always send:
Org-version,
Emacs version
Operatig System
and in this case, dealing with the exporter, if you used the new or the old exporter.
Here:
Org-mode version 7.9.2 (854ddf6 @ c:/Users/ridolfi/programs/emacs-o/org/lisp/)
GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN
1. I can export the clock line *IF* I have a property drawer:
#+OPTIONS: d:t timestamp:t
* foo:PROPERTIES:
CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] => 0:01
:END:
foo.
-+--------------------------------HTML------------
1 foo
CLOCK: 11/09/12 ven 03:58– 11/09/12 ven 03:59 => 0:01
PROPERTIES
foo.
2 bye ARCHIVE
-+----------------------------
so this is a quick and dirty solution.
2. Otherwise I cannot get the clock line in the HTML file:
- without (i.e. commenting out) the :PROPERTIES: drawer
- with the new exporter
(with or without propertiies)
cheers,
Giovanni