Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support human-readable stamps in output #11

Open
joshuatz opened this issue Dec 9, 2020 · 0 comments
Open

Feature: Support human-readable stamps in output #11

joshuatz opened this issue Dec 9, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@joshuatz
Copy link
Owner

joshuatz commented Dec 9, 2020

For quickly scanning stamps, it is hard to tell at a glance what something like this actually means in terms of relative dates:

{
  "md/docs/contributing.md": {
    "created": 1605291448,
    "modified": 1606105609
  }
}

It would be nice to support an option that adds to (not replaces) the existing fields with human readable dates. For example,

{
  "md/docs/contributing.md": {
    "created": 1605291448,
    "modified": 1606105609,
    "created-readable": "Friday, November 13, 2020 10:17:28 AM GMT-08:00",
    "modified-readable": "Sunday, November 22, 2020 8:26:49 PM GMT-08:00"
  }
}

Thought would have to be given to how to deal with timezones.

@joshuatz joshuatz added the enhancement New feature or request label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant