brew icon indicating copy to clipboard operation
brew copied to clipboard

config date format are unknown

Open stmtk1 opened this issue 4 months ago • 4 comments

Verification

  • [X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

Provide a detailed description of the proposed feature

brew config command outputs Core tap JSON date and Core cask tap JSON date. These date format is unknown format. I think ISO 8601 format is better.

What is the motivation for the feature?

This format don't write year. So we can't know year information.

How will the feature be relevant to at least 90% of Homebrew users?

I don't know

What alternatives to the feature have been considered?

I think ISO 8601 format is better.

stmtk1 avatar Feb 15 '24 07:02 stmtk1

@stmtk1 Why do you need to know the year?

MikeMcQuaid avatar Feb 15 '24 08:02 MikeMcQuaid

No opinion on the format, but we should at least use a consistent one:

Core tap last commit: 41 minutes ago
Core tap JSON: 14 Feb 21:30 UTC

reitermarkus avatar Feb 15 '24 17:02 reitermarkus

but we should at least use a consistent one:

Not necessarily. The inputs are very different so the outputs may be more useful as they are (which I tend to agree with on last commit being relative).

MikeMcQuaid avatar Feb 15 '24 19:02 MikeMcQuaid

Both answer the question “When was it last updated?”, so they don't seem that different to me.

reitermarkus avatar Feb 16 '24 21:02 reitermarkus

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Mar 09 '24 00:03 github-actions[bot]

Sorry, passing on this.

MikeMcQuaid avatar Mar 18 '24 12:03 MikeMcQuaid

Will review/consider a PR, though (but cannot promise it will be merged).

MikeMcQuaid avatar Mar 18 '24 12:03 MikeMcQuaid