From b2b6fd2890ee734e42730ad48f1192c17e4185ed Mon Sep 17 00:00:00 2001 From: Alix von Schirp <15247003+B00tLoad@users.noreply.github.com> Date: Tue, 24 Jan 2023 04:24:00 +0100 Subject: [PATCH] Updated Filename Templating (markdown) --- Filename-Templating.md | 54 +++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/Filename-Templating.md b/Filename-Templating.md index 3973760..80e16cc 100644 --- a/Filename-Templating.md +++ b/Filename-Templating.md @@ -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 | | \ No newline at end of file +| 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, needs to be at the start | | \ No newline at end of file