Skip to content

Commit 5b66639

Browse files
ekesTimWollalacatoire
authored
intl: Return value for IntlDatePatternGenerator::getBestPattern is for IntlDateFormatter (#5567)
* Return value for IntlDatePatternGenerator::getBestPattern is for IntlDateFormatter Correcting from suggestion it was a format for DateTime. * Update reference/intl/intldatepatterngenerator/getbestpattern.xml Co-authored-by: Tim Düsterhus <tim@bastelstu.be> * Apply suggestions from code review Had to look this up, but yes it's what is being standardized to. Co-authored-by: Louis-Arnaud <la.catoire@gmail.com> * Specify it is a ICU date/time pattern Applying suggestion @lacatoire #5567 (comment) --------- Co-authored-by: Tim Düsterhus <tim@bastelstu.be> Co-authored-by: Louis-Arnaud <la.catoire@gmail.com>
1 parent 9faf021 commit 5b66639

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

reference/intl/intldatepatterngenerator/getbestpattern.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232

3333
<refsect1 role="returnvalues">
3434
&reftitle.returnvalues;
35-
<para>
36-
Returns a format, accepted by <methodname>DateTimeInterface::format</methodname> on success, &return.falseforfailure;.
37-
</para>
35+
<simpara>
36+
Returns an ICU date/time pattern accepted by <classname>IntlDateFormatter</classname> on success, &return.falseforfailure;.
37+
</simpara>
3838
</refsect1>
3939

4040
<refsect1 role="examples">

0 commit comments

Comments
 (0)