Invitation's sent at date not recorded

Description

Steps to reproduce

Note: If you don’t have an account with unused invitations, you'll need to log in as an admin and go to https://test.archiveofourown.org/users/USERNAME/invitations to grant some.

  1. Log in to an account with unused invitations

  2. Hi, username! > My Dashboard > Invitations

  3. Choose an invitation and enter an email address

  4. Make note of either the email or invitation token (the keysmash)

  5. Press "Send Invitation"

  6. Follow the "Manage Invitations" link

  7. Locate the invitation you just sent

  8. Follow the linked token (the keysmash)

What happens

"Sent at" has no information below it.

What should happen

"Sent at" should have a time and date below it, just like "Created at" does.

Notes

sent_at data for an invitation is supposed to be recorded when an invitee_email is entered or updated.

However, it appears the last time we successfully recorded this was back in 2012 (some data removed):

Assignee

Unassigned

Reporter

Sarken

Roadmap

Invitations

Priority

Medium

Affects versions

Fix versions

None

Components

BackEnd

Difficulty

Medium

Milestone

Internal 0.9