Hello Org-mode:

I'm currently working on a modified HTML export backend and noticed that
`org-timestamp-formats` is a constant that defines two timestamp
formats—one without time and one with time (but only up to minutes):

(defconst org-timestamp-formats '("%Y-%m-%d %a" . "%Y-%m-%d %a %H:%M")
  ...)

I plan to add seconds support in my backend, but I see that functions
like `org-format-timestamp` and `org-timestamp-to-time` only handle
minute precision.

Since timestamps are such a fundamental feature, changing the format
would likely require careful adjustments to avoid breaking
compatibility. I wouldn't recklessly jump into trying to making direct
modifications.

Parsing these timestamps manually isn’t a big deal, but I’m
curious — has there ever been discussion about extending this to a
triplet structure (date, date+time, date+time+seconds) for more
flexibility?

Regards

Yue Yi

Reply via email to