MycroftAI / lingua-franca

Mycroft's multilingual text parsing and formatting library
Apache License 2.0
73 stars 77 forks source link

Do not cast extracted datetime to UTC during extract_datetime_fr #218

Open krisgesling opened 2 years ago

krisgesling commented 2 years ago

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: https://github.com/HelloChatterbox/lingua-nostra/pull/32/commits/45a567c6b070f79477522febd97328daa8f98d1c

Type of PR

CLA