From 91cb6d20581881dd1f87001665ca4e56e88d8306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 6 Jan 2015 16:33:54 +0100 Subject: [PATCH] Add documentation about storage and display of DateTime --- doc/ref/models/fields.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/ref/models/fields.rst b/doc/ref/models/fields.rst index 815f290180..2e1de08af1 100644 --- a/doc/ref/models/fields.rst +++ b/doc/ref/models/fields.rst @@ -336,6 +336,9 @@ DateTime .. class:: DateTime(string[, format, \**options]) A date and time, represented in Python by a ``datetime.datetime`` instance. +It is stored in `UTC`_ while displayed in the user timezone. + +.. _`UTC`: https://en.wikipedia.org/wiki/Coordinated_Universal_Time .. attribute:: DateTime.format