Use ISO 8601 dates in Portfile comments

Mojca Miklavec mojca at macports.org
Sun Apr 7 19:09:31 UTC 2019


On Sun, 7 Apr 2019 at 20:25, Christopher Chavez <chrischavez at gmx.us> wrote:
>
> 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”?

I agree with everything, feel free to go forward and create a PR or
whatever else is needed. (I also don't mind if you make this a valid
option in some portgroup.)

Mojca


More information about the macports-dev mailing list