Skip to content

Commit

Permalink
Localizing time
Browse files Browse the repository at this point in the history
  • Loading branch information
raiderrobert authored Oct 17, 2017
1 parent 3d4db26 commit 9c945b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmsplugin_remote_form/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def notification_emails(self, instance):


message = EmailMultiAlternatives(
"Form Submission on {title} ({url}) {now}".format(title=title, url=url, now=timezone.now()),
"Form Submission on {title} ({url}) {now}".format(title=title, url=url, now=timezone.localtime(timezone.now())),
content,
'[email protected]',
email_addresses,
Expand Down

0 comments on commit 9c945b9

Please sign in to comment.