Use ISO 8601 dates in Portfile comments

Christopher Chavez chrischavez at gmx.us
Sun Apr 7 18:25:08 UTC 2019


Currently, comments in Portfiles containing dates, such as for when remove something in the future, are specified in whichever scheme preferred by the port maintainer or whoever inserted the date. Some of these schemes are region-specific (e.g. mm/dd/yyyy used in the US) and potentially ambiguous.

With MacPorts being an international project, would it be preferable for MacPorts to exclusively use ISO 8601 dates (yyyy-mm-dd) for these purposes? Does that impose too much on maintainers? The primary advantage of doing this will be that it will be easier to search for any dates in Portfiles. I am willing to initiate pull request(s) to convert existing non-ISO 8601 examples I encounter.

Also, would it be preferable to insist on a consistent exact phrase for such comments: “Remove after yyyy-mm-dd”?

Christopher A. Chavez


More information about the macports-dev mailing list