From e2e90cd7b786bbfa494f130cdfae83635d36bc95 Mon Sep 17 00:00:00 2001 From: Mohamed Alsharaf Date: Fri, 15 Oct 2021 10:57:46 +1300 Subject: [PATCH] Update URL in docs for ICU documentation --- src/Forms/DateField.php | 8 ++++---- src/Forms/DatetimeField.php | 4 ++-- src/Forms/TimeField.php | 4 ++-- src/ORM/FieldType/DBDate.php | 4 ++-- src/ORM/FieldType/DBTime.php | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Forms/DateField.php b/src/Forms/DateField.php index a58113b6fa6..f9563fc9038 100644 --- a/src/Forms/DateField.php +++ b/src/Forms/DateField.php @@ -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 @@ -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 @@ -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() { @@ -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 */ diff --git a/src/Forms/DatetimeField.php b/src/Forms/DatetimeField.php index eab9d37c056..c7d86a7281c 100644 --- a/src/Forms/DatetimeField.php +++ b/src/Forms/DatetimeField.php @@ -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() { @@ -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 */ diff --git a/src/Forms/TimeField.php b/src/Forms/TimeField.php index 282963aa968..748ea49e5df 100644 --- a/src/Forms/TimeField.php +++ b/src/Forms/TimeField.php @@ -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() { @@ -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 */ diff --git a/src/ORM/FieldType/DBDate.php b/src/ORM/FieldType/DBDate.php index 2d2e5599d50..3fe6c696e92 100644 --- a/src/ORM/FieldType/DBDate.php +++ b/src/ORM/FieldType/DBDate.php @@ -25,7 +25,7 @@ * * * 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 { @@ -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 */ diff --git a/src/ORM/FieldType/DBTime.php b/src/ORM/FieldType/DBTime.php index 670a50d46a6..e055b283ae8 100644 --- a/src/ORM/FieldType/DBTime.php +++ b/src/ORM/FieldType/DBTime.php @@ -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)