You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/fixtures/expected/main/datetime.html
+33-33Lines changed: 33 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ <h1 id="datetimetype-field">
9
9
<aclass="headerlink" href="#datetimetype-field" title="Permalink to this headline">DateTimeType Field</a>
10
10
</h1>
11
11
<p>This field type allows the user to modify data that represents a specific
12
-
date and time (e.g. <codetranslate="no">1984-06-05 12:15:30</code>).</p>
12
+
date and time (e.g. <codetranslate="no"class="notranslate">1984-06-05 12:15:30</code>).</p>
13
13
<table>
14
14
<tbody>
15
15
<tr>
16
16
<td>Underlying Data Type</td>
17
-
<td>can be <codetranslate="no">DateTime</code>, string, timestamp, or array (see the <codetranslate="no">input</code> option)</td>
17
+
<td>can be <codetranslate="no"class="notranslate">DateTime</code>, string, timestamp, or array (see the <codetranslate="no" class="notranslate">input</code> option)</td>
18
18
</tr>
19
19
<tr>
20
20
<td>Rendered as</td>
@@ -63,8 +63,8 @@ <h2 id="field-options">
63
63
<h3id="the-date-format-option">
64
64
<aclass="headerlink" href="#the-date-format-option" title="Permalink to this headline">The date_format Option</a>
65
65
</h3>
66
-
<p><strong>type</strong>: <codetranslate="no">integer</code> or <codetranslate="no">string</code><strong>default</strong>: <codetranslate="no">IntlDateFormatter::MEDIUM</code></p>
67
-
<p>Defines the <codetranslate="no">format</code> option that will be passed down to the date field.
66
+
<p><strong>type</strong>: <codetranslate="no"class="notranslate">integer</code> or <codetranslate="no"class="notranslate">string</code><strong>default</strong>: <codetranslate="no" class="notranslate">IntlDateFormatter::MEDIUM</code></p>
67
+
<p>Defines the <codetranslate="no"class="notranslate">format</code> option that will be passed down to the date field.
68
68
for more details.</p>
69
69
<divclass="admonition admonition-tip ">
70
70
<pclass="admonition-title">
@@ -95,7 +95,7 @@ <h3 id="date-widget">
95
95
<p>Sometimes we add notes. But not too often because they interrupt the flow.
<p>If the <codetranslate="no"class="notranslate">widget</code> option is set to <codetranslate="no" class="notranslate">single_text</code>, this option specifies
185
185
the format of the input, i.e. how Symfony will interpret the given input
186
186
as a datetime string. See <ahref="http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax" class="reference external">Date/Time Format Syntax</a>.</p>
187
187
<divclass="admonition-wrapper">
@@ -208,16 +208,16 @@ <h3 id="format">
208
208
<h3id="time-widget">
209
209
<aclass="headerlink" href="#time-widget" title="Permalink to this headline">time_widget</a>
<p>Defines the <codetranslate="no"class="notranslate">widget</code> option for both the <codetranslate="no" class="notranslate">DateType</code>.
220
+
and <codetranslate="no"class="notranslate">TimeType</code>. This can be overridden
221
221
with the <ahref="datetime.html#date-widget" class="reference internal">date_widget</a> and <ahref="datetime.html#time-widget" class="reference internal">time_widget</a> options.</p>
0 commit comments