|
From: | Rares Pop |
Subject: | [Orgmode] Re: timestamps |
Date: | Mon, 8 Feb 2010 18:23:27 +0200 |
Rares Pop <address@hidden> writes:You can insert an timestamp with HH:MM by typing "C-u C-c !".
> I'm using orgmode 6.30d, under the OS Ubuntu 8.04 and the general
> idea is to use it to log my work and i'm facing the following issues:
>
> * insert a constant timestamp (e.g. i forgot to insert an activity
> that i did yesterday, and i want to log it. Ican't insert a clock
> with previous start and end date)
Here is a *very simple* function I use to insert a clock line at point:
--8<---------------cut here---------------start------------->8---
(defun my-org-insert-old-clock ()
"Insert a clock line interactively at point."
(interactive)
(open-line 1)
(insert "CLOCK: ")
(org-time-stamp-inactive t)
(insert "--")
(org-time-stamp-inactive t)
(org-clock-update-time-maybe))
--8<---------------cut here---------------end--------------->8---
> * change a timestamp inserted with a clock log in (e.g. i booked an
> activity to had started at 01:40PM but it actually started at 02:00You can change a time stamp by using Shift and the arrow keys. S-left
> PM, how can i change it to have it delayed 20 minutes later)
and S-right move forward and backward by day. S-up and S-down change
individual elements of the clock (hour, minutes, etc.).
See manual section 8.2: "Creating timestamps."
> * export the org mode document with the clocks timestamp (e.g. i want
> to export the working log with all the timestamp both HTML and PDFAre your timestamps in a :LOGBOOK: drawer? If so, you can turn on the
> but i have no success. The clock timestamps are not displayed in
> the output file)
inclusion of drawers in export by adding the following line to the top
of your file:
#+OPTIONS: d:t
Or you can set org-export-with-drawers to t.
Hope this helps.
Matt
[Prev in Thread] | Current Thread | [Next in Thread] |