Skip to content

Commit

Permalink
Merge e2e90cd into 8949277
Browse files Browse the repository at this point in the history
  • Loading branch information
satrun77 committed Oct 14, 2021
2 parents 8949277 + e2e90cd commit 59a4993
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/Forms/DateField.php
Expand Up @@ -42,7 +42,7 @@
* # Formats
*
* All format strings should follow the CLDR standard as per
* http://userguide.icu-project.org/formatparse/datetime. These will be converted
* https://unicode-org.github.io/icu/userguide/format_parse/datetime These will be converted
* automatically to jquery UI format.
*
* The value of this field in PHP will be ISO 8601 standard (e.g. 2004-02-12), and
Expand All @@ -51,7 +51,7 @@
* Note: Do NOT use php date format strings. Date format strings follow the date
* field symbol table as below.
*
* @see http://userguide.icu-project.org/formatparse/datetime
* @see https://unicode-org.github.io/icu/userguide/format_parse/datetime
* @see http://api.jqueryui.com/datepicker/#utility-formatDate
*/
class DateField extends TextField
Expand Down Expand Up @@ -169,7 +169,7 @@ public function setDateLength($length)
* This can be set explicitly. If not, this will be generated from the current locale
* with the current date length.
*
* @see http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Field-Symbol-Table
* @see https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
*/
public function getDateFormat()
{
Expand All @@ -190,7 +190,7 @@ public function getDateFormat()
* Set date format in CLDR standard format.
* Only applicable with {@link setHTML5(false)}.
*
* @see http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Field-Symbol-Table
* @see https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
* @param string $format
* @return $this
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Forms/DatetimeField.php
Expand Up @@ -259,7 +259,7 @@ protected function getFrontendFormatter()
* This can be set explicitly. If not, this will be generated from the current locale
* with the current date length.
*
* @see http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Field-Symbol-Table
* @see https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
*/
public function getDatetimeFormat()
{
Expand All @@ -275,7 +275,7 @@ public function getDatetimeFormat()
* Set date format in CLDR standard format.
* Only applicable with {@link setHTML5(false)}.
*
* @see http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Field-Symbol-Table
* @see https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
* @param string $format
* @return $this
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Forms/TimeField.php
Expand Up @@ -91,7 +91,7 @@ public function setHTML5($bool)
* This can be set explicitly. If not, this will be generated from the current locale
* with the current time length.
*
* @see http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Field-Symbol-Table
* @see https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
*/
public function getTimeFormat()
{
Expand All @@ -112,7 +112,7 @@ public function getTimeFormat()
* Set time format in CLDR standard format.
* Only applicable with {@link setHTML5(false)}.
*
* @see http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Field-Symbol-Table
* @see https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
* @param string $format
* @return $this
*/
Expand Down
4 changes: 2 additions & 2 deletions src/ORM/FieldType/DBDate.php
Expand Up @@ -25,7 +25,7 @@
* </code>
*
* Date formats all follow CLDR standard format codes
* @link http://userguide.icu-project.org/formatparse/datetime
* @link https://unicode-org.github.io/icu/userguide/format_parse/datetime
*/
class DBDate extends DBField
{
Expand Down Expand Up @@ -261,7 +261,7 @@ public function getISOFormat()
* Return the date using a particular formatting string. Use {o} to include an ordinal representation
* for the day of the month ("1st", "2nd", "3rd" etc)
*
* @param string $format Format code string. See http://userguide.icu-project.org/formatparse/datetime
* @param string $format Format code string. See https://unicode-org.github.io/icu/userguide/format_parse/datetime
* @param string $locale Custom locale to use (add to signature in 5.0)
* @return string The date in the requested format
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ORM/FieldType/DBTime.php
Expand Up @@ -114,7 +114,7 @@ public function Nice()
/**
* Return the time using a particular formatting string.
*
* @param string $format Format code string. See http://userguide.icu-project.org/formatparse/datetime
* @param string $format Format code string. See https://unicode-org.github.io/icu/userguide/format_parse/datetime
* @return string The time in the requested format
*/
public function Format($format)
Expand Down

0 comments on commit 59a4993

Please sign in to comment.