mirror of https://github.com/InternLM/InternLM
unify time format
parent
815678f73a
commit
343732b4f9
|
@ -118,7 +118,7 @@ def filter_kwargs(func, kwargs):
|
||||||
def launch_time():
|
def launch_time():
|
||||||
global CURRENT_TIME
|
global CURRENT_TIME
|
||||||
if not CURRENT_TIME:
|
if not CURRENT_TIME:
|
||||||
CURRENT_TIME = datetime.now().strftime("%m-%d:%H:%M:%S")
|
CURRENT_TIME = datetime.now().strftime("%m-%d-%H:%M:%S")
|
||||||
return CURRENT_TIME
|
return CURRENT_TIME
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue