mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
fmt
This commit is contained in:
parent
c01f0ea5f3
commit
5131f30691
@ -35,10 +35,7 @@ pub fn send_invitation(invitation: &Invitation) -> Result<(), ServiceError> {
|
|||||||
your Invitation expires on <strong>{}</strong>",
|
your Invitation expires on <strong>{}</strong>",
|
||||||
invitation.id,
|
invitation.id,
|
||||||
invitation.email,
|
invitation.email,
|
||||||
invitation
|
invitation.expires_at.format("%I:%M %p %A, %-d %B, %C%y")
|
||||||
.expires_at
|
|
||||||
.format("%I:%M %p %A, %-d %B, %C%y")
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
// complete the email message with details
|
// complete the email message with details
|
||||||
|
Loading…
Reference in New Issue
Block a user