Skip to content

Commit cfbf9ba

Browse files
committed
Fix links inside admonitions
1 parent d803a12 commit cfbf9ba

File tree

3 files changed

+24
-12
lines changed

3 files changed

+24
-12
lines changed

concepts/dates/about.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ None of these are available on Exercism.
1111
1212
In your own projects, do not use a deprecated / unmaintained package such as `moment.js` but rely on more modern alternatives like `luxon`, or the not yet widely available [Temporal][mdn-temporal].
1313
This exercise focusses on `Date`, which will remain relevant until the end of JavaScript.
14+
15+
[mdn-temporal]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
1416
~~~
1517

1618
## Creation
@@ -73,6 +75,8 @@ When working with Dates in JavaScript, _always_ use an ISO 8601 timestamp when c
7375
7476
Date-only forms are allowed, but not all ISO 8601 formats are supported.
7577
Consult the [simplified version explanation page on MDN][mdn-date-string-format].
78+
79+
[mdn-date-string-format]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format
7680
~~~
7781

7882
If the timestamp does not end in `Z`, and it does not end with `+HH:MM` or `-HH:MM`, indicating a timezone offset, because of historical reasons, the following applies:
@@ -162,6 +166,10 @@ When doing a comparison between two dates or date and a number, JavaScript calls
162166
The latter is the same as calling [`date.getTime()`][mdn-date-get-time].
163167
164168
If you do not want to rely on this behaviour, convert to a number using `getTime()` first.
169+
170+
[mdn-to-primitive]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Symbol.toPrimitive
171+
[mdn-date-value-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
172+
[mdn-date-get-time]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
165173
~~~
166174

167175
Dates cannot be compared using equality (`==`, and `===`), but the result of `.getTime()` can.
@@ -170,9 +178,5 @@ Dates cannot be compared using equality (`==`, and `===`), but the result of `.g
170178
[defn-gmt]: https://simple.wikipedia.org/wiki/Greenwich_Mean_Time
171179
[defn-unix-epoch]: https://en.wikipedia.org/wiki/Epoch_%28computing%29
172180
[defn-iso8601]: https://en.wikipedia.org/wiki/ISO_8601
173-
[mdn-temporal]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
174181
[mdn-date-string-format]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format
175-
[mdn-to-primitive]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Symbol.toPrimitive
176-
[mdn-date-value-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
177-
[mdn-date-get-time]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
178182
[ref-broken-parser]: https://maggiepint.com/2017/04/11/fixing-javascript-date-web-compatibility-and-reality/

concepts/dates/introduction.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ None of these are available on Exercism.
1111
1212
In your own projects, do not use a deprecated / unmaintained package such as `moment.js` but rely on more modern alternatives like `luxon`, or the not yet widely available [Temporal][mdn-temporal].
1313
This exercise focusses on `Date`, which will remain relevant until the end of JavaScript.
14+
15+
[mdn-temporal]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
1416
~~~
1517

1618
## Creation
@@ -73,6 +75,8 @@ When working with Dates in JavaScript, _always_ use an ISO 8601 timestamp when c
7375
7476
Date-only forms are allowed, but not all ISO 8601 formats are supported.
7577
Consult the [simplified version explanation page on MDN][mdn-date-string-format].
78+
79+
[mdn-date-string-format]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format
7680
~~~
7781

7882
If the timestamp does not end in `Z`, and it does not end with `+HH:MM` or `-HH:MM`, indicating a timezone offset, because of historical reasons, the following applies:
@@ -162,6 +166,10 @@ When doing a comparison between two dates or date and a number, JavaScript calls
162166
The latter is the same as calling [`date.getTime()`][mdn-date-get-time].
163167
164168
If you do not want to rely on this behaviour, convert to a number using `getTime()` first.
169+
170+
[mdn-to-primitive]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Symbol.toPrimitive
171+
[mdn-date-value-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
172+
[mdn-date-get-time]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
165173
~~~
166174

167175
Dates cannot be compared using equality (`==`, and `===`), but the result of `.getTime()` can.
@@ -170,9 +178,5 @@ Dates cannot be compared using equality (`==`, and `===`), but the result of `.g
170178
[defn-gmt]: https://simple.wikipedia.org/wiki/Greenwich_Mean_Time
171179
[defn-unix-epoch]: https://en.wikipedia.org/wiki/Epoch_%28computing%29
172180
[defn-iso8601]: https://en.wikipedia.org/wiki/ISO_8601
173-
[mdn-temporal]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
174181
[mdn-date-string-format]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format
175-
[mdn-to-primitive]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Symbol.toPrimitive
176-
[mdn-date-value-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
177-
[mdn-date-get-time]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
178182
[ref-broken-parser]: https://maggiepint.com/2017/04/11/fixing-javascript-date-web-compatibility-and-reality/

exercises/concept/appointment-time/.docs/introduction.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ None of these are available on Exercism.
1111
1212
In your own projects, do not use a deprecated / unmaintained package such as `moment.js` but rely on more modern alternatives like `luxon`, or the not yet widely available [Temporal][mdn-temporal].
1313
This exercise focusses on `Date`, which will remain relevant until the end of JavaScript.
14+
15+
[mdn-temporal]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
1416
~~~
1517

1618
## Creation
@@ -73,6 +75,8 @@ When working with Dates in JavaScript, _always_ use an ISO 8601 timestamp when c
7375
7476
Date-only forms are allowed, but not all ISO 8601 formats are supported.
7577
Consult the [simplified version explanation page on MDN][mdn-date-string-format].
78+
79+
[mdn-date-string-format]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format
7680
~~~
7781

7882
If the timestamp does not end in `Z`, and it does not end with `+HH:MM` or `-HH:MM`, indicating a timezone offset, because of historical reasons, the following applies:
@@ -162,6 +166,10 @@ When doing a comparison between two dates or date and a number, JavaScript calls
162166
The latter is the same as calling [`date.getTime()`][mdn-date-get-time].
163167
164168
If you do not want to rely on this behaviour, convert to a number using `getTime()` first.
169+
170+
[mdn-to-primitive]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Symbol.toPrimitive
171+
[mdn-date-value-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
172+
[mdn-date-get-time]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
165173
~~~
166174

167175
Dates cannot be compared using equality (`==`, and `===`), but the result of `.getTime()` can.
@@ -170,9 +178,5 @@ Dates cannot be compared using equality (`==`, and `===`), but the result of `.g
170178
[defn-gmt]: https://simple.wikipedia.org/wiki/Greenwich_Mean_Time
171179
[defn-unix-epoch]: https://en.wikipedia.org/wiki/Epoch_%28computing%29
172180
[defn-iso8601]: https://en.wikipedia.org/wiki/ISO_8601
173-
[mdn-temporal]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
174181
[mdn-date-string-format]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format
175-
[mdn-to-primitive]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Symbol.toPrimitive
176-
[mdn-date-value-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
177-
[mdn-date-get-time]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
178182
[ref-broken-parser]: https://maggiepint.com/2017/04/11/fixing-javascript-date-web-compatibility-and-reality/

0 commit comments

Comments
 (0)