Skip to content

Commit

Permalink
Merge pull request #82 from takkii/develop
Browse files Browse the repository at this point in the history
Update.
  • Loading branch information
takkii committed Apr 7, 2024
2 parents c3c6019 + 8d2dba6 commit f19b80e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unit/timestamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def main():
else:
st_calc = int(st_week)

week = ["Sun", "Mon", "Tues", "Wedness", "Thurs", "Fri", "Satur"]
cl_wk = week[round(calc)]
wk = ["Sun", "Mon", "Tues", "Wedness", "Thurs", "Fri", "Satur", "Sun"]
cl_wk = wk[round(calc)]

st_wk = week[int(st_calc)]
st_wk = wk[int(st_calc)]
week_bl = bool(cl_wk == st_wk)

print(st_year + "/" + st_month + "/" + st_day + " : " + cl_wk + "day")
Expand Down

0 comments on commit f19b80e

Please sign in to comment.