How to make it work
Remove the
[%H:%M]
portion from the first element oforg-time-stamp-custom-formats
. The relevant parts of your config file should look like this:(custom-set-variables ;; ... '(org-time-stamp-custom-formats (quote ("<%d/%m/%Y %a>" . "<%d %m %Y %a [%H:%M]>"))))
To schedule an item,
- hit C-c C-s (as usual)
- enter a time, e.g.
1pm
,10am
,9:00
, or18:00
- hit RET
Explanation
As far as I can tell from skimming documentation and associated portions of the org-mode
source, org-mode
uses the first element of
("<%d/%m/%Y %a [%H:%M]>" . "<%d %m %Y %a [%H:%M]>")
for formatting dates that do not include a time, while the second element is used for formatting dates that do. So when you do C-c C-s immediately followed by RET without providing a time, org-mode
will try to insert a date formatted according to the first element of org-time-stamp-custom-formats
. With your current configuration this will fail (in the way you describe) because org-mode
doesn't know what to substitute for %H
and %M
in the format string.
The thing that had me confused (and probably tripped you up as well) when I tried to reproduce the behavior you describe was that the date prompt that comes up when calling org-schedule
via C-c C-s does include the (current) time in the correct format...
Credits
- Answer to a similar question about timestamps for scheduled TODOs.