From 0e3aa4dcb674bf87a67027a9d0f3424ec506e47b Mon Sep 17 00:00:00 2001 From: Tsvetomir Tsonev Date: Mon, 20 May 2019 16:39:35 +0300 Subject: [PATCH] docs: fix links --- src/dates.d.ts | 4 ++-- src/numbers.d.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dates.d.ts b/src/dates.d.ts index 0e20de80..fb356743 100644 --- a/src/dates.d.ts +++ b/src/dates.d.ts @@ -89,7 +89,7 @@ export interface DateFormatOptions { * Converts a `Date` object into a string based on the specified format and locale. * {% platform_content angular %} * For a runnable example, refer to the article on - * [date and number formatting and parsing]({% parsingandformatting_intl %}#toc-date-formatting). + * [date and number formatting and parsing]({% slug parsingandformatting_intl %}#toc-date-formatting). * {% endplatform_content %} * * @param value - Defines the date that will be formatted. @@ -103,7 +103,7 @@ export function formatDate(value: Date, format: string|DateFormatOptions, locale * Converts a string into a `Date` object based on the specified format and locale * {% platform_content angular %} * For a runnable example, refer to the article on - * [date and number formatting and parsing]({% parsingandformatting_intl %}#toc-date-parsing). + * [date and number formatting and parsing]({% slug parsingandformatting_intl %}#toc-date-parsing). * {% endplatform_content %} * * @param value - Defines the string that will be parsed. diff --git a/src/numbers.d.ts b/src/numbers.d.ts index 935104fa..c707be8b 100644 --- a/src/numbers.d.ts +++ b/src/numbers.d.ts @@ -2,7 +2,7 @@ * Settings for the `formatNumber` and `parseNumber` functions. * {% platform_content angular %} * For a runnable example, refer to the article on - * [date and number formatting and parsing]({% parsingandformatting_intl %}#toc-number-formatting). + * [date and number formatting and parsing]({% slug parsingandformatting_intl %}#toc-number-formatting). * {% endplatform_content %} */ export interface NumberFormatOptions { @@ -55,7 +55,7 @@ export interface NumberFormatOptions { * Converts a string into a `Number` based on the specified locale. * {% platform_content angular %} * For a runnable example, refer to the article on - * [date and number formatting and parsing]({% parsingandformatting_intl %}#toc-number-parsing). + * [date and number formatting and parsing]({% slug parsingandformatting_intl %}#toc-number-parsing). * {% endplatform_content %} * * @param value - The string that will be parsed. @@ -69,7 +69,7 @@ export function parseNumber(value: string, locale?: string, format?: string|Numb * Converts a `Number` into a string based on the specified format and locale. * {% platform_content angular %} * For a runnable example, refer to the article on - * [date and number formatting and parsing]({% parsingandformatting_intl %}#toc-number-formatting). + * [date and number formatting and parsing]({% slug parsingandformatting_intl %}#toc-number-formatting). * {% endplatform_content %} * * @param value - The number that will be formatted.