1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00

Fixed #23631 -- Removed outdated note on MySQL timezone support.

Thanks marfire for the report.
This commit is contained in:
Tim Graham 2014-10-10 15:18:54 -04:00
parent 06b11b617e
commit 9db3653670

View File

@ -493,11 +493,6 @@ for the field. This affects :class:`~django.db.models.CharField`,
DateTime fields
~~~~~~~~~~~~~~~
MySQL does not have a timezone-aware column type. If an attempt is made to
store a timezone-aware ``time`` or ``datetime`` to a
:class:`~django.db.models.TimeField` or :class:`~django.db.models.DateTimeField`
respectively, a ``ValueError`` is raised rather than truncating data.
MySQL does not store fractions of seconds. Fractions of seconds are truncated
to zero when the time is stored.