Skip to content

fight: also show date#29

Draft
llakala wants to merge 1 commit intomainfrom
dates
Draft

fight: also show date#29
llakala wants to merge 1 commit intomainfrom
dates

Conversation

@llakala
Copy link
Owner

@llakala llakala commented Jan 28, 2025

Shows hours if days < 0

@llakala llakala marked this pull request as draft January 28, 2025 21:12
Shows hours if days < 0
@llakala
Copy link
Owner Author

llakala commented Apr 2, 2025

Seems I forgot to leave this comment. I paused on this because I realized we were just getting the OLD modified time - not the new modified time. But, I figured out how this could still be helpful - color-coding.

Basically, if the date in the flake.lock is really different from the current date, then it's been ages since the input updated - color it red. If the date is almost the same, then the input gets colored green. This lets you know when something gets bumped after a long time.

Of course, to do this, I first need to understand ascii color codes. But that's an issue for another day.

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.

1 participant