Skip to content

Commit

Permalink
Merge pull request #62 from Donnerbart/docs-start-stop-parsing
Browse files Browse the repository at this point in the history
Add note to start/stop documentation to quote timestamp values if needed
  • Loading branch information
chenbh authored Oct 18, 2021
2 parents 2b9cec0 + 658646a commit a3dfb50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ level of precision is better left to other tools.
stop: 6:00 AM
```

**Note: YAML parsers like PyYAML may parse time values in the 24h format as integers, not strings (e.g. `19:00` is parsed as `1140`). If you pre-process your pipeline configuration with such a parser this might trigger a marshaling error. In that case you can quote your `start` and `stop` values, so they will be correctly treated as string.**

* `days`: *Optional.* Limit the creation of new time versions to the specified
day(s). Supported days are: `Sunday`, `Monday`, `Tuesday`, `Wednesday`,
`Thursday`, `Friday` and `Saturday`.
Expand Down

0 comments on commit a3dfb50

Please sign in to comment.