emacs - org-mode: org-time-stamp-custom-formats shows midnight time -


I would like a timestamp for my TODOs in the following format:

.emacs I have the following:

pre> (custom-set-variable '(organ-display) -CustomTimesT) '(org-time-stamp-custom-format (quote ("<% d /% m /% Y% a [% H:% M]>". "& Lt;

Checking the value through that variable p> mx description-variable rt org-time-stamp-custom-formats

Visible Confirms:

  org-time-stamp-custom-formats is a variable defined 'org.el'. Its value is ("& lt;% d /% m /% Y% a [% H:% M]> gt;" <% d% m% Y% a [% H:% M] & gt; ") Documentation: Custom format for time stamps. See 'format-time-string' for syntax if the variable` org-display-custom-times' is set, then it has been mixed more than the default ISO format. Time like% H:% M should be at the end of the second format. Custom formats are also awarded by export orders, if the custom time display at the time of export You can customize this variable   

However, when going into action (by pressing CC CS ) I will always have my Todd < Code> 00:00 :

  ** TODO scheduled: <22/04/2014 Tuesday [00:00] & gt;   

Something is going wrong in my config How do I fix my configuration of timestamp?

How to do this
  1. [% H:% M] Remove the part from the first element of org-time-stamp-custom-formats . The related parts of your config file should look like this:

      (custom-set-variable ;; ... '(organ-time-stamp-custom-format (quotation ("(& lt ;% D /% m /% Y% a & gt; "." & Lt;% d% m% Y% a [% H:% M] & gt; "))))   
  2. To schedule an item,

    • hit cc cs (as always)
    • Enter a time, e.g., 1pm , 10am , 9:00 , or 18:00
    • explanation

      As far as the skimming documents and Relationship The first element of the organ-mode source, org-mode is used by

        ("& lt;% d / % M /% Y% a [% H:% M] & gt;. & Lt;% d% m% Y% a [% H:% M] & gt; ")   

      For formatting dates that are not one time, while the second element is used for the formatting date, so when you cc cs immediately RET Without a single time , org-mode will try to insert a date before Formatted according to the org-time-stamp-custom-formats , with the current configuration (the way you describe it) will fail because org-mode Do not know that % H and % M in the format string.

      When I tried to reproduce the behavior you described, that thing confused me (and perhaps you slipped as well) was that organ-schedule CC does correct format (present) time through

      credit < Ul>
    • For a similar question about timestamps for scheduled TODOs.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -