Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved nice_relative_time to lingua-franca for internationalization (PR still to be approved there) #118

Open
wants to merge 2 commits into
base: 21.02
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Moved nice_relative_time to lingua-franca for internationalization
  • Loading branch information
e-gor committed Jul 25, 2021
commit 0c1fb226a6c9f086ee5356e03b2cc0860570a170
3 changes: 1 addition & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from mycroft.configuration.config import LocalConf, USER_CONFIG
from mycroft.messagebus.message import Message
from mycroft.util import play_mp3
from mycroft.util.format import nice_date_time, nice_time, nice_date, join_list
from mycroft.util.format import nice_date_time, nice_time, nice_date, join_list, nice_relative_time
from mycroft.util.parse import extract_datetime, extract_number
from mycroft.util.time import to_utc, now_local, now_utc

Expand All @@ -37,7 +37,6 @@
get_next_repeat,
has_expired_alarm,
)
from .lib.format import nice_relative_time
from .lib.parse import fuzzy_match, utterance_has_midnight
from .lib.recur import (
create_day_set,
Expand Down
2 changes: 1 addition & 1 deletion lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
get_next_repeat,
has_expired_alarm,
)
from .format import nice_relative_time
from mycroft.util.format import nice_relative_time
from .parse import fuzzy_match, utterance_has_midnight
from .recur import create_day_set, create_recurring_rule, describe_recurrence