Skip to content

Commit

Permalink
fix: jalali_expire_date for on_hold users
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintShit committed Nov 18, 2023
1 parent 19d3582 commit 7dfbe1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/utils/share.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ def setup_format_variables(extra_data: dict) -> dict:
days_left = timedelta(seconds=on_hold_expire_duration).days
time_left = format_time_left(on_hold_expire_duration)
expire_date = '-'
jalali_expire_date = '-'
else:
days_left = '∞'
time_left = '∞'
Expand Down

0 comments on commit 7dfbe1d

Please sign in to comment.