diff options
| author | Pascal Borreli | 2013-05-28 15:09:23 +0100 |
|---|---|---|
| committer | Pascal Borreli | 2013-05-28 15:09:23 +0100 |
| commit | 8f35ac4f93c608eaced3f48a46e8922104e09182 (patch) | |
| tree | 55b394b57fc7b0e40283d89dc23dd0b41dfc074d /docs/api-guide/fields.md | |
| parent | 7123f0b1e6b29778c41476341bd2370f60c279fa (diff) | |
| download | django-rest-framework-8f35ac4f93c608eaced3f48a46e8922104e09182.tar.bz2 | |
Fixed typos
Diffstat (limited to 'docs/api-guide/fields.md')
| -rw-r--r-- | docs/api-guide/fields.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index b3208eb1..92d2066d 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -204,7 +204,7 @@ If you want to override this behavior, you'll need to declare the `DateTimeField class Meta: model = Comment -Note that by default, datetime representations are deteremined by the renderer in use, although this can be explicitly overridden as detailed below. +Note that by default, datetime representations are determined by the renderer in use, although this can be explicitly overridden as detailed below. 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`. @@ -226,7 +226,7 @@ Corresponds to `django.db.models.fields.DateField` * `format` - A string representing the output format. If not specified, this defaults to `None`, which indicates that python `date` objects should be returned by `to_native`. In this case the date encoding will be determined by the renderer. * `input_formats` - A list of strings representing the input formats which may be used to parse the date. If not specified, the `DATE_INPUT_FORMATS` setting will be used, which defaults to `['iso-8601']`. -Date format strings may either be [python strftime formats][strftime] which explicitly specifiy the format, or the special string `'iso-8601'`, which indicates that [ISO 8601][iso8601] style dates should be used. (eg `'2013-01-29'`) +Date format strings may either be [python strftime formats][strftime] which explicitly specify the format, or the special string `'iso-8601'`, which indicates that [ISO 8601][iso8601] style dates should be used. (eg `'2013-01-29'`) ## TimeField |
