doc: csv: emphasise the use of - in strptime patterns

This commit is contained in:
Simon Michael 2019-01-06 06:38:32 +00:00
parent e6392b3d46
commit 73a1de8d9b

View File

@ -107,13 +107,13 @@ DATEFMT is a [strptime-like date parsing pattern](http://hackage.haskell.org/pac
which must parse the date field values completely. Examples:
``` {.rules .display-table}
# for dates like "6/11/2013":
date-format %-d/%-m/%Y
# for dates like "11/06/2013":
date-format %m/%d/%Y
```
``` {.rules .display-table}
# for dates like "11/06/2013":
date-format %m/%d/%Y
# for dates like "6/11/2013" (note the - to make leading zeros optional):
date-format %-d/%-m/%Y
```
``` {.rules .display-table}