Yue Yi <includeyy...@gmail.com> writes: > 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): > ... > 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.
Org timestamp syntax does not support seconds. See https://orgmode.org/worg/org-syntax.html#Timestamps > 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? I do not recall any requests about adding seconds to timestamps. It does not seem to be very common need among Org users. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>