normalize string outputs from time skills
This commit is contained in:
1 parent
f6ef66b532
commit
f05e06e6f6
2 files changed
+2
-15
No files matched your search
@@ -17,5 +17,5 @@ CONTRACT = {}
|
||||
|
||||
def act(ctx, request):
|
||||
today = local_now(ctx.config).date()
|
||||
message = f"Today is {today.strftime('%A, %B %d, %Y')} ({today.isoformat()})."
|
||||
message = f"Today is {today.strftime('%A, %B')} {today.day}, {today.year}."
|
||||
return ActionResult(action_log=message, new_state=message)
|
||||
Reference in new issue
Block a user