Skip to content

Commit

Permalink
chore: fix deprecated Time.unix_time() -> Time.unix()
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Nov 18, 2024
1 parent 3caecea commit c8640a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usecase/package/search_sort.v
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn (s PackageSort) get_param(p &Package) int {
match s.order {
.stars { return p.stars }
.downloads { return p.nr_downloads }
.updated_at { return int(p.updated_at.unix_time()) }
.updated_at { return int(p.updated_at.unix()) }
}
}

Expand Down

0 comments on commit c8640a5

Please sign in to comment.