In org-mode documents, I very often add drawer properties to hyperlinks. To illustrate, here is an example with various data attached to a GitHub repository link:
* https://github.com/caddyserver/caddy :PROPERTIES: :description: Fast, multi-platform web server with automatic HTTPS :stars: 35252 :open-issues: 96 :language: Go :created-at: 2015-01-13T19:45:03Z :updated-at: 2021-11-21T10:37:08Z :last-commit-at: 2021-11-16T20:08:22Z :fetched-at: 2021-11-21T11:43:57Z :END: I would like to keep the data stored on disk this way, but have a way to (auto)toggle the display of the various dates in a relative fashion. To disambiguate what I mean by "relative", here is a more concrete example:
* https://github.com/caddyserver/caddy :PROPERTIES: :description: Fast, multi-platform web server with automatic HTTPS :stars: 35252 :open-issues: 96 :language: Go :created-at: 6 years and 10 months ago :updated-at: 6 hours ago :last-commit-at: 5 days ago :fetched-at: 7 hours ago :END: What could be the approach to tackle this feature?
Does org-mode provide a hook when a property drawer is opened?
If so, should the invoked function use some kind of overlays to modify only the content of the date values in the drawer?