最佳答案
是否有一种优雅的方式来显示另一个时区的当前时间?
我想要一些具有以下总体精神的东西:
cur = <Get the current time, perhaps datetime.datetime.now()>
print("Local time {}".format(cur))
print("Pacific time {}".format(<something like cur.tz('PST')>))
print("Israeli time {}".format(<something like cur.tz('IST')>))