Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 87d3d66

Browse files
author
Benjamin Laugueux
committed
Fixed DateType and DateTimeType options.
1 parent 5b872d0 commit 87d3d66

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

reference/forms/types/date.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ day, and year) or three select boxes (see the `widget_` option).
2626
| | - `months`_ |
2727
| | - `days`_ |
2828
| | - `format`_ |
29-
| | - `data_timezone`_ |
30-
| | - `user_timezone`_ |
29+
| | - `model_timezone`_ |
30+
| | - `view_timezone`_ |
3131
+----------------------+-----------------------------------------------------------------------------+
3232
| Overridden Options | - `by_reference`_ |
3333
| | - `error_bubbling`_ |
@@ -113,9 +113,9 @@ Alternatively, you can specify a string to be displayed for the "blank" value::
113113

114114
.. include:: /reference/forms/types/options/date_format.rst.inc
115115

116-
.. include:: /reference/forms/types/options/data_timezone.rst.inc
116+
.. include:: /reference/forms/types/options/model_timezone.rst.inc
117117

118-
.. include:: /reference/forms/types/options/user_timezone.rst.inc
118+
.. include:: /reference/forms/types/options/view_timezone.rst.inc
119119

120120
Overridden Options
121121
------------------

reference/forms/types/datetime.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ data can be a ``DateTime`` object, a string, a timestamp or an array.
2626
| | - `months`_ |
2727
| | - `days`_ |
2828
| | - `with_seconds`_ |
29-
| | - `data_timezone`_ |
30-
| | - `user_timezone`_ |
29+
| | - `model_timezone`_ |
30+
| | - `view_timezone`_ |
3131
+----------------------+-----------------------------------------------------------------------------+
3232
| Inherited | - `invalid_message`_ |
3333
| options | - `invalid_message_parameters`_ |
@@ -97,9 +97,9 @@ for more details.
9797

9898
.. include:: /reference/forms/types/options/with_seconds.rst.inc
9999

100-
.. include:: /reference/forms/types/options/data_timezone.rst.inc
100+
.. include:: /reference/forms/types/options/model_timezone.rst.inc
101101

102-
.. include:: /reference/forms/types/options/user_timezone.rst.inc
102+
.. include:: /reference/forms/types/options/view_timezone.rst.inc
103103

104104
Inherited options
105105
-----------------

reference/forms/types/options/data_timezone.rst.inc renamed to reference/forms/types/options/model_timezone.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
data_timezone
1+
model_timezone
22
~~~~~~~~~~~~~
33

44
**type**: ``string`` **default**: system default timezone

reference/forms/types/options/user_timezone.rst.inc renamed to reference/forms/types/options/view_timezone.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
user_timezone
1+
view_timezone
22
~~~~~~~~~~~~~
33

44
**type**: ``string`` **default**: system default timezone

0 commit comments

Comments
 (0)