Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert time to user timezone in emails #877

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

petrjasek
Copy link
Member

CPCN-753

Checklist

  • This pull request is not adding new forms that use redux
  • This pull request is adding missing TypeScript types to modified code segments where it's easy to do so with confidence
  • This pull request is replacing lodash.get with optional chaining for modified code segments

@petrjasek petrjasek added this to the v2.6 milestone Apr 9, 2024
@petrjasek petrjasek requested a review from MarkLark86 April 9, 2024 14:08
@@ -220,45 +225,82 @@ def get_language_template_name(template_name: str, language: str, extension: str
return fallback_template_name


def send_user_email(
Copy link
Contributor

Choose a reason for hiding this comment

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

This function is almost identical to send_template_email. Would be good to extract the common code out to a util function and use that in both of these send email functions.

@petrjasek petrjasek merged commit 54c51d5 into superdesk:release/2.6 Apr 10, 2024
7 checks passed
@petrjasek petrjasek deleted the fix-user-email-timezone branch April 10, 2024 07:56
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