From 7433448d860137f15ea9cb7ed3855b5b8d65b52b Mon Sep 17 00:00:00 2001 From: miro Date: Sun, 17 Nov 2024 13:32:06 +0000 Subject: [PATCH] fix: skilljson --- __init__.py | 3 +-- locale/en-us/skill.json | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 locale/en-us/skill.json diff --git a/__init__.py b/__init__.py index 38c08890..accd29eb 100644 --- a/__init__.py +++ b/__init__.py @@ -509,8 +509,7 @@ def show_time(self, display_time: str): def show_time_mark1(self, display_time: str): LOG.debug(f"Emitting ovos.mk1.display_time with time: {display_time}") - self.bus.emit(Message("ovos.mk1.display_time", - {"text": display_time})) + self.bus.emit(Message("ovos.mk1.display_time", {"text": display_time})) def show_time_gui(self, display_time): """ Display time on the GUI. """ diff --git a/locale/en-us/skill.json b/locale/en-us/skill.json new file mode 100644 index 00000000..bb48f3e1 --- /dev/null +++ b/locale/en-us/skill.json @@ -0,0 +1,22 @@ +{ + "skill_id": "skill-ovos-date-time.openvoiceos", + "source": "https://github.com/OpenVoiceOS/skill-ovos-date-time", + "name": " Date and Time", + "description": "Get the time, date, day of the week", + "examples": [ + "What time is it?", + "Tell me the day of the week", + "How many days until July 4th", + "What's the date?", + "Show me the time", + "What day is Memorial Day 2020?", + "What time is it in Paris?" + ], + "tags": [ + "clock", + "date", + "time", + "query", + "information" + ] +} \ No newline at end of file