Filename template function %datetime-custom allows customizing 'weekday' but how to use in filename template itself? #1757
Unanswered
UNIVAC-Colonel-Panic
asked this question in
Q&A
Replies: 1 comment
-
|
Sorry for the late reply, you're supposed to write |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The date component 'weekday' is described in Template functions:
and Mozilla Developer Network: DateTimeFormat constructor documentation.
My goal is to make 'weekday' as part of the filename template, something like:
{date-iso}-{weekday}_at_{hours-locale}-{minutes-locale}-{seconds-locale} %if-empty<{page-title}|No title>.html
I would be using the "short" value for 'weekday' in order to get the three-character day-of-week abbreviation.
Example filename:
Beta Was this translation helpful? Give feedback.
All reactions