Updated Filename Templating (markdown)

Alix von Schirp
2023-01-24 04:24:00 +01:00
parent 6fb24a7a4f
commit b2b6fd2890

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