Readme improvements

This commit is contained in:
Ralph Küpper 2018-03-08 15:57:50 -05:00
parent 1bfab7c9f5
commit a27ed9e9d6
2 changed files with 9 additions and 9 deletions

View File

@ -39,17 +39,17 @@ let date:Date = dateString.swiftyDate() // this will work
## Examples ## Examples
The beauty of this library is that it will also understand other formats, for example: The beauty of this library is that it will also understand other formats, for example:
_10.12.2017_ ```
10.12.2017
_12:30_ 12:30
12/25/2016
_12/25/2016_ ```
Or in combinations: Or in combinations:
_12/25/2016 3:45pm_ ```
12/25/2016 3:45pm
_20.10.2018 23:10_ 20.10.2018 23:10
```
## Assumptions ## Assumptions
1. Humans are messy and unstructured. Dates are mostly entered because of humans. Consequently we are dealing with a mess and try to get the best of out of it. 1. Humans are messy and unstructured. Dates are mostly entered because of humans. Consequently we are dealing with a mess and try to get the best of out of it.