mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
207 stars 44 forks source link

Timestamping in log.py and backup.py returns incorrect time #111

Closed ethanbayliss closed 3 years ago

ethanbayliss commented 5 years ago

time.strftime("%Y-%m-%d-%H-%M-%S", time.gmtime()) returns time for incorrect timezone datetime.now().strftime("%Y-%m-%d-%H-%M-%S") correctly does this