You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: concepts/dates/about.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ None of these are available on Exercism.
11
11
12
12
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].
13
13
This exercise focusses on `Date`, which will remain relevant until the end of JavaScript.
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
162
166
The latter is the same as calling [`date.getTime()`][mdn-date-get-time].
163
167
164
168
If you do not want to rely on this behaviour, convert to a number using `getTime()` first.
Copy file name to clipboardExpand all lines: concepts/dates/introduction.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ None of these are available on Exercism.
11
11
12
12
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].
13
13
This exercise focusses on `Date`, which will remain relevant until the end of JavaScript.
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
162
166
The latter is the same as calling [`date.getTime()`][mdn-date-get-time].
163
167
164
168
If you do not want to rely on this behaviour, convert to a number using `getTime()` first.
Copy file name to clipboardExpand all lines: exercises/concept/appointment-time/.docs/introduction.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ None of these are available on Exercism.
11
11
12
12
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].
13
13
This exercise focusses on `Date`, which will remain relevant until the end of JavaScript.
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
162
166
The latter is the same as calling [`date.getTime()`][mdn-date-get-time].
163
167
164
168
If you do not want to rely on this behaviour, convert to a number using `getTime()` first.
0 commit comments