Use ciso8601 for parsing MySQLdb datetimes (#71818)
* Use ciso8601 for parsing MySQLDB datetimes
The default parser is this:
5340191feb/MySQLdb/times.py (L66)
* tweak
* tweak
* add coverage for building the MySQLdb connect conv param
This commit is contained in:
parent
abe78b1212
commit
a8f1dda004
4 changed files with 54 additions and 1 deletions
|
@ -10,6 +10,7 @@ from homeassistant.helpers.json import JSONEncoder
|
|||
|
||||
DATA_INSTANCE = "recorder_instance"
|
||||
SQLITE_URL_PREFIX = "sqlite://"
|
||||
MYSQLDB_URL_PREFIX = "mysql://"
|
||||
DOMAIN = "recorder"
|
||||
|
||||
CONF_DB_INTEGRITY_CHECK = "db_integrity_check"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue