1
0
mirror of https://github.com/django/django.git synced 2025-03-26 01:00:46 +00:00

[1.4.x] Fixed #23631 -- Removed outdated note on MySQL timezone support.

Thanks marfire for the report.

Backport of 9db3653670 from master
This commit is contained in:
Tim Graham 2014-10-10 15:18:54 -04:00
parent f58392d8d8
commit 643374bcf5

View File

@ -417,11 +417,6 @@ of whether ``unique=True`` is specified or not.
DateTime fields 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 MySQL does not store fractions of seconds. Fractions of seconds are truncated
to zero when the time is stored. to zero when the time is stored.