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

Add dateTime Format #6

Open
jinglesthula opened this issue Oct 19, 2018 · 0 comments
Open

Add dateTime Format #6

jinglesthula opened this issue Oct 19, 2018 · 0 comments

Comments

@jinglesthula
Copy link

Currently it supports relativeTime and authorTime in the Format setting. relativeTime looks like it's the number of seconds since the commit. It would be great if that could be formatted as a datetime value (yyyy-mm-dd hh:mm:ss), or if the current way it's doing it needs to be maintained, to provide an additional dateTime format token that would apply the formatting (perhaps with moment.js).

This would really help if you have 2 lines where they both say "about a year ago" with relativeTime, and the number of seconds is a bit difficult to compare visually.

Very useful package, by the way. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant