Skip to content

Commit 8222e77

Browse files
committed
Highlight headings in front-end
1 parent cfbf9ba commit 8222e77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const now = new Date();
2727
// Shows current day, date and time (in your time zone).
2828
```
2929

30-
### Unix timestamp (number)
30+
### **Unix timestamp (number)**
3131

3232
If a number is passed in, this will be interpreted as a `timestamp`.
3333
A timestamp is an integer number representing the number of **milliseconds** that has passed since **1 January 1970 [UTC][defn-utc]+0**.
@@ -42,7 +42,7 @@ const another = new Date(1749508766627);
4242

4343
One may expect `new Date(0)` to generate the "earliest" date object, but JavaScript will convert the date to your local timezone, which means that only those around [GMT / with an UTC+0][defn-gmt] timezone will actually get the [Unix epoch][defn-unix-epoch] value.
4444

45-
### ISO 8601 timestamp (string)
45+
### **ISO 8601 timestamp (string)**
4646

4747
You can pass a string value representing a date to the `Date` constructor.
4848
The **only** format that is consistent across implementations is the [simplified version][mdn-date-string-format] of the internationally recognized and standardized so-called [ISO 8601 timestamp strings][defn-iso8601].
@@ -85,7 +85,7 @@ If the timestamp does not end in `Z`, and it does not end with `+HH:MM` or `-HH:
8585
> The interpretation as a UTC time is due to a historical spec error that was not consistent with ISO 8601 but could not be changed due to web compatibility.
8686
> See [Broken Parser – A Web Reality Issue][ref-broken-parser].
8787
88-
### Date object
88+
### **Date object**
8989

9090
An existing date object can also be used as a constructor argument.
9191
This makes a copy of the existing `Date` object with the same date and time.
@@ -96,7 +96,7 @@ const t2 = new Date(t1);
9696
// Values of t1 and t2 will be the same.
9797
```
9898

99-
### Supplying individual date and time component values
99+
### **Supplying individual date and time component values**
100100

101101
A date representing a date can be created by passing three numbers.
102102
A date representing a date and time can be created by passing in 6 numbers.

0 commit comments

Comments
 (0)