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>",
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user