Now that we have time.gmtime() and time.localtime(), could these methods silently truncate (well, preferrably round) the floaty output from time.time() into an int?
time.localtime(time.time()) # looks much cleaner than:
time.localtime(int(time.time()))
Re: #43
Now that we have
time.gmtime()
andtime.localtime()
, could these methods silently truncate (well, preferrably round) the floaty output fromtime.time()
into an int?i.e., like Python.