ReNamer:Rules:ReformatDate: Difference between revisions
Jump to navigation
Jump to search
("Adjust time by" documented) |
(Left align the rule image) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:ReNamer › Rules › Reformat Date rule}} | |||
{{Go|up=ReNamer:Rules|prev=ReNamer:Rules:UserInput}} | {{Go|up=ReNamer:Rules|prev=ReNamer:Rules:UserInput}} | ||
__NOTOC__ | __NOTOC__ | ||
[[File:ReformatDateRule.png | [[File:ReformatDateRule.png]] | ||
This rule allows finding and reformatting various date/time values in the filename. | This rule allows finding and reformatting various date/time values in the filename. | ||
Latest revision as of 11:39, 17 April 2025
This rule allows finding and reformatting various date/time values in the filename.
Allowed date/time format variables are described in the Date and Time format article.
| Parameter | Description |
|---|---|
| Find date/time format | Find date and/or time matching a specified format.
A dropdown menu provides a quick access to commonly used formats. |
| Convert to date/time format | Convert found date and/or time values to the specified format.
A dropdown menu provides a quick access to commonly used formats. |
| Match as whole words only | When searching for a matching date/time pattern, match only if the found pattern is a whole word, i.e. surrounded by word boundaries.
For example: A 4 digit year pattern (YYYY) will be found in "foo1234bar" if this option is disabled, but not found if option is enabled. |
| Skip extension | Exclude file extension from processing. |
| Use custom short months | Use a custom list of short month names when searching or formatting short month name pattern (MMM). Month names are separated by a comma.
By default, month names from the system locale are used. |
| Use custom long months | Use a custom list of long month names when searching or formatting long month name pattern (MMMM). Month names are separated by a comma.
By default, month names from the system locale are used. |
| Adjust time by | This option lets you adjust date/time by any arbitrary number of years, months, days, hours, minutes, seconds and milliseconds. |
