Ticket #14320: mysql-timezone.diff

File mysql-timezone.diff, 670 bytes (added by Adam Vandenberg, 13 years ago)

Patch to docs to mention MySQL timezone limitation.

  • docs/ref/databases.txt

    diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
    index d367284..00d2f8c 100644
    a b Furthermore, if you are using a version of MySQL prior to 5.0.3, all of those  
    362362column types have a maximum length restriction of 255 characters, regardless
    363363of whether ``unique=True`` is specified or not.
    364364
     365DateTime fields
     366~~~~~~~~~~~~~~~
     367
     368MySQL does not have a timezone-aware column type. If an attempt is made to
     369store a timezone-aware ``datetime`` to a
     370:class:`~django.db.models.DateTimeField`, a ``ValueError`` is raised rather
     371than truncating data.
     372
     373
    365374.. _sqlite-notes:
    366375
    367376SQLite notes
Back to Top