Skip to content

scripts: move configuration to separate file, cleanup - #158

Merged
philiptaron merged 6 commits into
NixOS:mainfrom
mdaniels5757:use-dates-from-config
Oct 22, 2026
Merged

philiptaron merged 6 commits into
NixOS:mainfrom
mdaniels5757:use-dates-from-config

Conversation

@mdaniels5757

@mdaniels5757 mdaniels5757 commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Tested locally.

  • scripts: configure dates in seperate file
    Assisted-by: gpt-6.1-sol (high, Codex)

  • scripts: rename yearAgo to activityCutoff

  • scripts: remove no-longer-necessary branch

@mdaniels5757 mdaniels5757 changed the title use dates from config scripts: move configuration to separate file, cleanup Oct 22, 2026
mdaniels5757 and others added 3 commits October 22, 2026 17:51
parseDate returns epoch seconds, but new Date() expects milliseconds,
so the date rendered as January 1970. It also used the activity cutoff,
which is in the past, rather than when the notice period ends.
Specs like "1 year ago" read as "in the past 1 year ago" and
"less than 1 year ago"; use the resolved dates instead.
@philiptaron
philiptaron merged commit 53e1e80 into NixOS:main Oct 22, 2026
2 checks passed
@mdaniels5757
mdaniels5757 deleted the use-dates-from-config branch October 23, 2026 02:47
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.

2 participants