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

Do not cast extracted datetime to UTC during extract_datetime_fr #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krisgesling
Copy link
Contributor

Description

A datetime was being cast as UTC before being converted to a local tzinfo. This would could an incorrect time extraction.

A backport from Chatterboxes Lingua Nostra:
HelloChatterbox@45a567c

Type of PR

  • Bugfix

CLA

  • Yes

@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Nov 25, 2021
@krisgesling krisgesling added bug Something isn't working fr relates to french language labels Nov 25, 2021
NeonJarbas pushed a commit to NeonJarbas/ovos-lingua-franca that referenced this pull request Jan 18, 2022
add to_system utility

fix extract_datetime_fr timezone bug  MycroftAI#218

fix farsi tests (ignoring timezone due to not being rebased before merge)

remove unimplemented farsi code (is_fractional and normalize)

split english tests into their own files like the other languages
JarbasAl pushed a commit to OpenVoiceOS/ovos-lingua-franca that referenced this pull request Jan 18, 2022
* port timezone fixes for time utils MycroftAI#209

add to_system utility

fix extract_datetime_fr timezone bug  MycroftAI#218

fix farsi tests (ignoring timezone due to not being rebased before merge)

remove unimplemented farsi code (is_fractional and normalize)

split english tests into their own files like the other languages + remove solved TODO comment

authored-by: jarbasai <[email protected]>
NeonJarbas pushed a commit to NeonJarbas/ovos-lingua-franca that referenced this pull request Jan 18, 2022
add to_system utility

fix extract_datetime_fr timezone bug  MycroftAI#218

fix farsi tests (ignoring timezone due to not being rebased before merge)

remove unimplemented farsi code (is_fractional and normalize)

split english tests into their own files like the other languages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) fr relates to french language
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants