`fix bug from merge
This commit is contained in:
@@ -58,8 +58,12 @@ class CalenderEnvironment(Environment):
|
||||
def stop(self):
|
||||
self.is_run = False
|
||||
|
||||
async def _get_now(self) -> str:
|
||||
def get_now(self,key:str)->str:
|
||||
now = datetime.now()
|
||||
formatted_time = now.strftime('%Y-%m-%d %H:%M:%S')
|
||||
return formatted_time
|
||||
|
||||
async def _get_now(self) -> str:
|
||||
now = datetime.now()
|
||||
formatted_time = now.strftime('%Y-%m-%d %H:%M:%S')
|
||||
return formatted_time
|
||||
|
||||
Reference in New Issue
Block a user