mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
fmt
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user