Opened 3 years ago

Closed 3 years ago

#19176 closed Bug (fixed)

MySQL backend: typo on adapt_datetime_with_timezone_support warning message

Reported by: maxirobaina@… Owned by: nobody
Component: Database layer (models, ORM) Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: no UI/UX: no

Description

In MySQL backend (base.py) there is a typo on adapt_datetime_with_timezone_support function
The warnning message say:

warnings.warn("SQLite received a naive datetime (%s)"

" while time zone support is active." % value,
RuntimeWarning)

Change History (1)

comment:1 Changed 3 years ago by Aymeric Augustin <aymeric.augustin@…>

  • Resolution set to fixed
  • Status changed from new to closed

In c736a1a9f8f1b70adcbbce8a098fa7c0c4062785:

Fixed #19176 -- Typo in copy-pasted error message.

Thanks maxirobaina for the report.

Note: See TracTickets for help on using tickets.
Back to Top