Updated Filename Templating (markdown)
@@ -1,27 +1,27 @@
|
|||||||
| Template | Description | Example |
|
| Template | Description | Example |
|
||||||
| -------- | ------------------------------------ | ---------------|
|
| -------- | --------------------------------------------------- | ---------------|
|
||||||
| %YYYY | Year, four digits | 2022 |
|
| `%YYYY` | Year, four digits | 2022 |
|
||||||
| %YY | Year, last two digits | 22 |
|
| `%YY` | Year, last two digits | 22 |
|
||||||
| %MMMM | Full month name | December |
|
| `%MMMM` | Full month name | December |
|
||||||
| %MMM | Abbreviated month name | Dec |
|
| `%MMM` | Abbreviated month name | Dec |
|
||||||
| %MM | Month as decimal number, zero padded | 01 - 12 |
|
| `%MM` | Month as decimal number, zero padded | 01 - 12 |
|
||||||
| %M | Month as decimal number | 1 - 12 |
|
| `%M` | Month as decimal number | 1 - 12 |
|
||||||
| %DD | Day of the month, zero padded | 01 - 31 |
|
| `%DD` | Day of the month, zero padded | 01 - 31 |
|
||||||
| %D | Day of the month | 1 - 31 |
|
| `%D` | Day of the month | 1 - 31 |
|
||||||
| %DDDD | Full name of the weekday | Monday |
|
| `%DDDD` | Full name of the weekday | Monday |
|
||||||
| %DDD | Abbreviated name of the weekday | Mon |
|
| `%DDD` | Abbreviated name of the weekday | Mon |
|
||||||
| %WW | Week number, zero padded | 00 - 53 |
|
| `%WW` | Week number, zero padded | 00 - 53 |
|
||||||
| %W | Week number | 0 - 53 |
|
| `%W` | Week number | 0 - 53 |
|
||||||
| %HH | Hour in 24h format, zero padded | 00 - 23 |
|
| `%HH` | Hour in 24h format, zero padded | 00 - 23 |
|
||||||
| %hh | Hour in 12h format, zero padded | 01 - 12 |
|
| `%hh` | Hour in 12h format, zero padded | 01 - 12 |
|
||||||
| %H | Hour in 24h format | 1 - 24 |
|
| `%H` | Hour in 24h format | 1 - 24 |
|
||||||
| %h | Hour in 12h format | 1 - 12 |
|
| `%h` | Hour in 12h format | 1 - 12 |
|
||||||
| %P | AM/PM designation, capitalized | AM |
|
| `%P` | AM/PM designation, capitalized | AM |
|
||||||
| %p | AM/PM designation, | am |
|
| `%p` | AM/PM designation, | am |
|
||||||
| %mm | Minutes, zero padded | 00 - 59 |
|
| `%mm` | Minutes, zero padded | 00 - 59 |
|
||||||
| %m | Minutes | 0 - 59 |
|
| `%m` | Minutes | 0 - 59 |
|
||||||
| %ss | Seconds, zero padded | 00 - 59 |
|
| `%ss` | Seconds, zero padded | 00 - 59 |
|
||||||
| %s | Seconds | 0 - 59 |
|
| `%s` | Seconds | 0 - 59 |
|
||||||
| %o | Offset from UTC (ISO 8601) | +01:00 |
|
| `%o` | Offset from UTC (ISO 8601) | +01:00 |
|
||||||
| %% | A % sign | % |
|
| `%%` | A % sign | % |
|
||||||
| %$x$ | Offsets the date by x day | |
|
| `%$x$ ` | Offsets the date by x day, needs to be at the start | |
|
||||||
Reference in New Issue
Block a user