I have the following line below a "TODO":

SCHEDULED: <Oct 27, 2018 08:30PM>

Right now, the org-mode throws the following error:

Error was: (Not a standard Org time string: Oct 27, 2018 08:30PM); Skipping entry

Bad timestamp ‘Oct 27, 2018 08:30PM’
  • 1
    Why do you want a custom timestamp format? Org already has a lot of tooling to work with its native format. Explaining what you want to get out of a different format would help figure out a solution.
    – zck
    Mar 25, 2019 at 17:13
  • See the variables org-display-custom-times and org-time-stamp-custom-formats and org-time-stamp-formats. There use to be a warning on org-time-stamp-formats: "It is not recommended to change this constant." However, the doc-string for that variable in Emacs 26.1 does not contain the old warning that was present in earlier versions.
    – lawlist
    Mar 25, 2019 at 18:57
  • @zck I use an external service that automatically add these tasks to my org file, and that external service has the limitation of writing the timestamp only in the format specified in the description above. Mar 26, 2019 at 10:12
  • @lawlist correct me if i'm wrong, but those variables are for displaying the timestamp in a custom format, the underlying timestamp should already be the standard org timestamp format. Mar 26, 2019 at 10:14
  • It may behoove you to implement a mechanism to programmatically modify the incorrect / non-standard time-stamps to the standard format as defined by org-time-stamp-formats. The other alternative would be to somehow have the external service add tasks with the proper format.
    – lawlist
    Mar 26, 2019 at 16:02


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.