Esempio n. 1
0
 def get_time(path):
     dt = os.path.getmtime(path)
     return convert_utc_to_user_timezone(
         datetime.datetime.utcfromtimestamp(dt)).strftime(
             '%a %b %d %H:%M %Y')
Esempio n. 2
0
	def get_time(path):
		dt = os.path.getmtime(path)
		return convert_utc_to_user_timezone(datetime.datetime.utcfromtimestamp(dt)).strftime('%Y-%m-%d %H:%M')