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

Change date format for email templates #230

Open
1v4n4 opened this issue Nov 27, 2023 · 0 comments
Open

Change date format for email templates #230

1v4n4 opened this issue Nov 27, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@1v4n4
Copy link
Member

1v4n4 commented Nov 27, 2023

Email template variable {{createdAt}} is sent in ISO8601.
image

It would be better to have user-friendlier format.
If localization is possible, it should be in the language of the widget (actionPage.locale).
If no localization, in some ddmmyyyy (time?) variant.

The relevant code might be here https://github.com/fixthestatusquo/proca-server/blob/main/proca/lib/proca/service/email_merge.ex.

We should have createdAt on this list

## Variables exposed to template

@1v4n4 1v4n4 added enhancement New feature or request good first issue Good for newcomers labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant