I was looking at `org-element-timestamp-parser` and I was wondering if I should add the timezone parsing to `org-parse-time-string` or just to `org-element-timestamp-parser`, since the former seems to return a structure with timezone information (as of now unused).
David On Sun, May 11, 2025 at 10:25 AM Ihor Radchenko <yanta...@posteo.net> wrote: > David Minh-Duy Cao via "General discussions about Org-mode." > <emacs-orgmode@gnu.org> writes: > > > I was thinking of contributing a patch to add timezone support for > > org-mode, and I was curious if I could get some pointers on where & how > > I should start. I’ve seen both the proposed syntax [0] and the most > > recent org meetup notes [1] on the matter, and since the latter > > recommended reaching out to the mailing list if someone was interested > > in having a go at the patch, I figured I would send a message to > > hopefully get some guidance on how to get started :^) > > Thanks for your interest! > Here are initial tasks you need to do in order to get started: > 1. Modify `org-element-timestamp-parser' to understand the new syntax > 2. Add new tests into testing/test-org-element.el covering various > possible timezone variants (basically, add tests for > `org-element-timestamp-parser' you modify) > 3. make sure that Org tests (make test) are not broken by your changes > 4. Find the existing Org functions that should understand timezones, > share them here. We will then discuss how they should be modified. > > -- > 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> >