lunarflu HF staff commited on
Commit
e63a0f9
1 Parent(s): a246d4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -869,7 +869,7 @@ def verify_button(profile: gr.OAuthProfile | None, request: gr.Request) -> str:
869
 
870
  if pd.isnull(hf_user_name) or hf_user_name == 'n/a':
871
  # empty (no link created yet between discord_user_id and hf_user_name) so we can update
872
- verified_date = datetime.datetime.now()
873
  global_df.loc[global_df['discord_user_id'] == altered_member_id, 'hf_user_name'] = profile.username
874
  global_df.loc[global_df['discord_user_id'] == altered_member_id, 'verified_date'] = verified_date
875
  org_link = "https://huggingface.co/organizations/discord-community/share/wPKRAHYbAlaEaCxUxcqVyaaaeZcYagDvqc"
 
869
 
870
  if pd.isnull(hf_user_name) or hf_user_name == 'n/a':
871
  # empty (no link created yet between discord_user_id and hf_user_name) so we can update
872
+ verified_date = datetime.now().strftime("%m/%d/%Y, %H:%M:%S")
873
  global_df.loc[global_df['discord_user_id'] == altered_member_id, 'hf_user_name'] = profile.username
874
  global_df.loc[global_df['discord_user_id'] == altered_member_id, 'verified_date'] = verified_date
875
  org_link = "https://huggingface.co/organizations/discord-community/share/wPKRAHYbAlaEaCxUxcqVyaaaeZcYagDvqc"