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

feat: allow custom time format #214

Merged
merged 1 commit into from
Sep 10, 2023

Conversation

kristof-mattei
Copy link
Contributor

@kristof-mattei kristof-mattei commented Jul 23, 2023

Allow the time format for the notification history & the notifications themselves to be customized.

Handy for those who don't do 24h clocks.

I did consolidate 2 formats:

https://github.com/rcarriga/nvim-notify/pull/214/files#diff-cc0264adaefdad4a3e145a4ad44a0c98f186d24da90e022e9215f3ef68fa828bL32
and
https://github.com/rcarriga/nvim-notify/pull/214/files#diff-3eb94df4dcd115e2877155af0a02b9cee18d96cc0b1ff3a908459b63fd6948cdL46

Since %T is %H:%M:%S I imagined that the fact that they differ wasn't intentional. Let me know if you want me to separate them.

@rcarriga
Copy link
Owner

Nice thanks for the PR! 😄

@rcarriga rcarriga merged commit 4a0da37 into rcarriga:master Sep 10, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants