Skip to content

Commit afd7e6d

Browse files
committed
docs(README): Fix date format from 12h to 24h in schedule pattern
hh represents 12h format from 01 to 12 which is probably not suitable for date tags. The pattern example in the table below uses the 24h format HH, so this makes the document consistent. Signed-off-by: motoki317 <[email protected]>
1 parent 8d8c7c1 commit afd7e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ tags: |
464464
# handlebars
465465
type=schedule,pattern={{date 'YYYYMMDD'}}
466466
# handlebars with timezone
467-
type=schedule,pattern={{date 'YYYYMMDD-hhmmss' tz='Asia/Tokyo'}}
467+
type=schedule,pattern={{date 'YYYYMMDD-HHmmss' tz='Asia/Tokyo'}}
468468
```
469469

470470
Will be used on [schedule event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule).

0 commit comments

Comments
 (0)