Closed TimJentzsch closed 3 years ago
date_joined
is actually when the object was created in the database, so anyone who accepts the code of conduct now has an accurate date_joined
field. What would probably be a better option here is going through and resetting that field in the db to be the claim time of their first submission if we have that available.
I will close this and instead we can fix the date_joined
field.
Relevant issue: Closes #141.
Description:
The Slack
info
command used thedate_joined
field ofBlossomUser
. However, this is actually never assigned anywhere, so it always returned the current time. This adds a separatefirst_active
field which returns the time of the first claimed transcription. This is then used instead of thedate_joined
field for theinfo
command.Testing Instructions:
Locally setup the Blossom Testing App. Then you can test the
info <username>
command and verify that thedate_joined
field has been replaced byfirst_active
and returns a sensible value.Because I didn't manage to set up Slack locally yet, it would be nice if someone could verify this for me.
Checklist: