Skip to content

Commit

Permalink
Merge pull request #229 from alex-ball/patch-1
Browse files Browse the repository at this point in the history
Update 05-counting-mining.md with `man date` solution
  • Loading branch information
kaitlinnewson committed Aug 22, 2023
2 parents d890f87 + 90fbfb7 commit 24c557a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions episodes/05-counting-mining.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,10 @@ Notice how we didn't type today's date ourselves, but let the

## Solution

Using `date --help` will show you that the `+` option introduces
a date format, where `%Y`, `%m` and `%d` are replaced by the year,
month, and day respectively. There are many other percent-codes
you could use.
Using `date --help` (on Git Bash for Windows or Linux) or `man date` (on macOS or Linux)
will show you that the `+` option introduces a date format,
where `%Y`, `%m` and `%d` are replaced by the year, month, and day respectively.
There are many other percent-codes you could use.

You might also see that `-I` is short for
[\--iso-8601](https://en.wikipedia.org/wiki/ISO_8601), which
Expand Down

0 comments on commit 24c557a

Please sign in to comment.