Commit d6455c1
committed
python: add default format for
Problem: The `!d` conversion specifier returns an empty string if
no format is provided, which could cause confusion in casual usage.
For example `{expiration!d}` returns an empty string even if there
is an expiration timestamp for a job.
If no format is provided, default to an ISO 8601 format "%FT%T".!d conversion specifier1 parent 2355579 commit d6455c1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
0 commit comments