diff --git a/websitemodule.py b/websitemodule.py index 37d2857..419c142 100644 --- a/websitemodule.py +++ b/websitemodule.py @@ -41,8 +41,7 @@ def generatehtmlcode(url): html += '\n' html += '

Halhadus\' Local Wrapped

\n' html += '

Total Play Time: ' + str(int(total_play_time(url)/60)) + ' minutes

\n' - # HUMAN READABLE last updated time (example: 2021-09-01 12:34:56) of assets/localwrapped/music.db (UTC +3) - html += '

Last Updated: ' + datetime.datetime.utcfromtimestamp(os.path.getmtime("assets/localwrapped/music.db")).strftime('%Y-%m-%d %H:%M:%S') + ' (UTC +3)

\n' + html += '

Last Updated: ' + datetime.datetime.utcfromtimestamp(os.path.getmtime("assets/localwrapped/music.db")).strftime('%Y-%m-%d %H:%M:%S') + ' (server time)

\n' html += '

Most Played Musics

\n' html += '
    \n' count_list_formatted = []