Skip to content

Commit

Permalink
Tiny documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pineapplemachine committed Aug 13, 2018
1 parent b7debd1 commit d149f71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ timestamp produced with the output of any other modifier
- `%Y` full year number
- `%z` timezone offset, e.g. "+0100"
- `%Z` timezone name or offset, e.g. "UTC" or "+0100"
- `%+` date; same as "%a %b %e %H:%M:%S %Z %Y"
- `%+` date; same as `%a %b %e %H:%M:%S %Z %Y`
- `%#` era name, i.e. "CE" or "BCE"
- `%%` literal "%" character

Expand Down Expand Up @@ -191,7 +191,7 @@ Like other numeric directives, this one can be modified using the no-padding `-`

### Day of the year %j

Ordinal day number in the year. The number is padded with spaces if it is fewer than three digits long. The day number is always in the range 000 through 366.
Ordinal day number in the year. The number is padded with zeroes if it is fewer than three digits long. The day number is always in the range 000 through 366.

Like other numeric directives, this one can be modified using the no-padding `-`, space-padding `_`, and ordinal `:` modifiers.

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ console.log(date.toISOString());

### Locale-dependent strings

The **strftime** and **strptime** functions default to english weekday names,
The **strftime** and **strptime** functions default to English weekday names,
month names, and ordinals.
However, it is possible to specify different text by passing an options object.

Expand Down

0 comments on commit d149f71

Please sign in to comment.