1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
This commit is contained in:
Rob Ede 2022-02-02 02:19:39 +00:00
parent c01f0ea5f3
commit 5131f30691
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -35,10 +35,7 @@ pub fn send_invitation(invitation: &Invitation) -> Result<(), ServiceError> {
your Invitation expires on <strong>{}</strong>",
invitation.id,
invitation.email,
invitation
.expires_at
.format("%I:%M %p %A, %-d %B, %C%y")
invitation.expires_at.format("%I:%M %p %A, %-d %B, %C%y")
);
// complete the email message with details