Skip to content

Check 1376 email template tweaks#11

Merged
kyokukou merged 7 commits into
developfrom
CHECK-1376-email-template-tweaks
Jun 2, 2026
Merged

Check 1376 email template tweaks#11
kyokukou merged 7 commits into
developfrom
CHECK-1376-email-template-tweaks

Conversation

@kyokukou

Copy link
Copy Markdown
Contributor

No description provided.

@kyokukou
kyokukou requested a review from bdc34 May 29, 2026 18:27
Comment thread app/templates/email_body.py
Comment thread app/templates/submission.py Outdated
authors = sub.authors or "(no authors)"

submit_time_str = (
sub.submit_time.astimezone(_ET).strftime("%Y-%m-%d %H:%M EST")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

EST hard coded here is wrong. ET will be EDT half the year.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

How about:

submit_time_str = (
    sub.submit_time.astimezone(_ET).strftime("%Y-%m-%d %H:%M %Z")

That will do EST/EDT as needed.

@bdc34 bdc34 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Need hard coded EST fixed.

@kyokukou
kyokukou requested a review from bdc34 June 2, 2026 16:07
@kyokukou
kyokukou requested a review from bdc34 June 2, 2026 16:35
@kyokukou
kyokukou merged commit 7b18974 into develop Jun 2, 2026
1 check passed
@kyokukou
kyokukou deleted the CHECK-1376-email-template-tweaks branch June 2, 2026 16:46
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