Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
revoxhere authored Oct 22, 2023
1 parent 1679958 commit 257d222
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 2023/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,12 @@ const user_data = (req_username, first_open) => {
trustscore = data.balance.trust_score;
if (data.balance.warnings < 1) {
verified = data.balance.verified;
verification_date = new Date(data.balance.verified_date * 1000)
.toLocaleString('en-UK');
if (data.balance.verified_date === 0) {
verification_date = "before summer 2022"
} else {
verification_date = new Date(data.balance.verified_date * 1000)
.toLocaleString('en-UK');
}

if (verified === "yes") {
$(".verifiedbadge").fadeIn();
Expand Down

0 comments on commit 257d222

Please sign in to comment.