1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 23:28:02 +00:00

Clean up the iex code block

This commit is contained in:
jbranchaud
2016-06-28 15:53:55 -05:00
parent 38e9f27b05
commit 0edabfdbd0

View File

@@ -8,10 +8,10 @@ function producing the Date struct with each of the date parts.
```elixir
> ~D[2016-01-01]
~D[2016-01-01]
iex(7)> ~D[2016-01-01].year
> ~D[2016-01-01].year
2016
iex(8)> ~D[2016-01-01].month
> ~D[2016-01-01].month
1
iex(9)> ~D[2016-01-01].day
> ~D[2016-01-01].day
1
```