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

Correct handling of "today" to support foreign languages #139

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

junivex
Copy link
Contributor

@junivex junivex commented Sep 18, 2020

Resolves Nonetype Error that occurs for other languages than English (#138).
"today" in __populate_report should be passed with English language (lang='en'), otherwise it is defined as None, if another language is used as default.
The same applies to "today" in ___populate_current, where self.__extract_datetime should be used with English as language.

"today" in __populate_report should be passed with English (lang='en'), otherwise it is defined as None.
The same applies to "today" in ___populate_current, where self.__extract_datetime should be used with English as language.
@krisgesling
Copy link
Contributor

Hi @junivex,

Thank you for helping with the Mycroft project! We welcome everyone into the community and greatly appreciate your help as we work to build an AI for Everyone.

To protect yourself, the project, and users of Mycroft technologies we require a Contributor Licensing Agreement (CLA) before accepting any code contribution. This agreement makes it crystal clear that along with your code you are offering a license to use it within the confines of this project. You retain ownership of the code, this is just a license.

You will also be added to our list of excellent human beings!

Please visit https://mycroft.ai/cla to initiate this one-time signing.

Thank you!

@junivex
Copy link
Contributor Author

junivex commented Sep 21, 2020

Hey @krisgesling, thanks for the remark. I'm happy to contribute, and readily signed the CLA.
In case there are any other issues, just let me know.

@krisgesling
Copy link
Contributor

Hey, I just tried to send out the CLA but the email address we got bounced. Can you email me at [email protected] so I can be sure we have the spelling correct. Thanks.

@krisgesling
Copy link
Contributor

CLA received and working great, thanks again.

@krisgesling krisgesling merged commit b1e003c into MycroftAI:20.08 Sep 23, 2020
@junivex junivex deleted the bugfix/today-nonetype branch September 29, 2020 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants