Skip to content

Commit

Permalink
fix signup date
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Apr 17, 2024
1 parent 6c32021 commit 61d38fb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public async Task<DataSourceUser> GetLfmUserInfoAsync(ImportUser user, DataSourc
if (plays.Any())
{
dataSourceUser.Registered = plays.MinBy(o => o.TimePlayed).TimePlayed;
dataSourceUser.RegisteredUnix = ((DateTimeOffset)dataSourceUser.Registered).ToUnixTimeSeconds();
}

return dataSourceUser;
Expand Down

0 comments on commit 61d38fb

Please sign in to comment.