Skip to content

tau-bot: skip times the author marked as local - #602

Merged
rahearn merged 4 commits into
18F:mainfrom
c-tonneslan:fix/tau-bot-skip-local-time
May 18, 2026
Merged

tau-bot: skip times the author marked as local#602
rahearn merged 4 commits into
18F:mainfrom
c-tonneslan:fix/tau-bot-skip-local-time

Conversation

@c-tonneslan

Copy link
Copy Markdown
Contributor

Per #533, when someone writes "10:51 local time" they mean "whatever the reader's clock says," not "10:51 in my timezone," so Tau-bot's translation is misleading there. Added local / local time to the matcher and filter those matches out before processing so Tau-bot stays quiet.

Closes #533.

@c-tonneslan
c-tonneslan requested a review from a team as a code owner May 17, 2026 18:06
@rahearn

rahearn commented May 18, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution. Can you resubmit this PR with a signed commit? We cannot accept any contributions that haven't been signed

"10:51 local time" means whatever the reader's clock says, not the
author's, so converting it to their timezone is misleading. Add
"local" / "local time" to the matcher and drop those matches up
front so Tau-bot stays quiet.

Closes 18F#533.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
@c-tonneslan
c-tonneslan force-pushed the fix/tau-bot-skip-local-time branch from a27584f to 6cdfd34 Compare May 18, 2026 14:09
@c-tonneslan

c-tonneslan commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

Done, force-pushed with an SSH-signed commit. Also re-signed #603 the same way. Thanks!

Comment thread src/scripts/timezone.test.js Outdated
"meeting at 9:00 local",
]) {
message.event.text = text;
await handler(message);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[suggestion] lets pull these two test cases into two separate it methods. That will ensure we know which test fails in the future and also address the lint error

@c-tonneslan

c-tonneslan commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

Split into two.

@rahearn
rahearn merged commit fb8f678 into 18F:main May 18, 2026
7 checks passed
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.

ignore times specified as local?

2 participants