Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adiafora authored and duellsy committed Oct 27, 2019
1 parent e09256c commit 31034cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Expand Up @@ -253,6 +253,14 @@ Booleans by default will display as a 0 or a 1, which is pretty bland and won't
boolean:No|Yes
```

### Options
Analogous to "boolean", only any text or numeric values can act as a source value (often flags are stored in the database). The format allows you to specify different outputs depending on the value.
Look at this as an associative array in which the key is separated from the value by a dot. Array elements are separated by a vertical line.

```
options: search.On the search|network.In networks
```

### DateTime
DateTime by default will display as Y-m-d H:i:s. Prefix the value with `datetime:` and then add your datetime format, e.g.,

Expand Down

0 comments on commit 31034cf

Please sign in to comment.