Skip to content

Commit eb14f47

Browse files
authored
Merge pull request #4900 from toidi/fix-datetime-format-documentation
Refs: #4256 delete not relevant documentation
2 parents 20e3717 + de8fcbf commit eb14f47

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/api-guide/fields.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ Format strings may either be [Python strftime formats][strftime] which explicitl
303303

304304
When a value of `None` is used for the format `datetime` objects will be returned by `to_representation` and the final output representation will determined by the renderer class.
305305

306-
In the case of JSON this means the default datetime representation uses the [ECMA 262 date time string specification][ecma262]. This is a subset of ISO 8601 which uses millisecond precision, and includes the 'Z' suffix for the UTC timezone, for example: `2013-01-29T12:34:56.123Z`.
307-
308306
#### `auto_now` and `auto_now_add` model fields.
309307

310308
When using `ModelSerializer` or `HyperlinkedModelSerializer`, note that any model fields with `auto_now=True` or `auto_now_add=True` will use serializer fields that are `read_only=True` by default.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy