Skip to content

Backend/requests: More useful date formats - #8819

Merged
tristanlabelle merged 3 commits into
developfrom
backend/feature/host-request-emails-date-format
May 30, 2026
Merged

Backend/requests: More useful date formats#8819
tristanlabelle merged 3 commits into
developfrom
backend/feature/host-request-emails-date-format

Conversation

@tristanlabelle

@tristanlabelle tristanlabelle commented May 26, 2026

Copy link
Copy Markdown
Contributor

#8574 added support for localized date format variants. We can use it with requests to make them more useful: we don't need to show the year since requests are within 365 days (and typically within a month), and we can add the day of the week since that's useful info (hosting weekend vs day of week).

Updates tests accordingly. Which makes me think we should rather mock the system clock: #8854

Testing

After this change:
image

Before:
image

Backend checklist

  • Added tests for any new code or added a regression test if fixing a bug
  • Run the backend locally and it works
  • Added migrations if there are any database changes, rebased onto develop if necessary for linear migration history

For maintainers

  • Maintainers can push commits to my branch
  • Maintainers can merge this PR for me

@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
couchers Ready Ready Preview May 29, 2026 7:05pm

Request Review

@tristanlabelle
tristanlabelle force-pushed the backend/feature/host-request-emails-date-format branch from fc89834 to 2eaf2b8 Compare May 29, 2026 18:51
@tristanlabelle
tristanlabelle marked this pull request as ready for review May 29, 2026 19:30
@tristanlabelle
tristanlabelle requested a review from aapeliv as a code owner May 29, 2026 19:30
@tristanlabelle
tristanlabelle requested review from a team and WouldYouKindly May 29, 2026 19:31
@tristanlabelle
tristanlabelle merged commit 33ea7d8 into develop May 30, 2026
9 checks passed
@tristanlabelle
tristanlabelle deleted the backend/feature/host-request-emails-date-format branch May 30, 2026 01:26
@github-actions github-actions Bot added the release notes: pending Add to stuff that should be included in release notes label May 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📝 Release Notes

This PR should be included in the release notes.

Suggested release note:

Improved host request emails to show clearer dates with the day of the week and without the unnecessary year
🤖 Bot Debug Information

Model: couchers.openai.gpt-5.4
Decision: include
Reasoning: This is a small but noticeable user-facing improvement: host request emails now show clearer dates by including the day of the week and omitting the unnecessary year, which makes request timing easier to understand at a glance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: pending Add to stuff that should be included in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants