ReNamer:Rules:ReformatDate: Difference between revisions
Jump to navigation
Jump to search
(Described rule parameters) |
("Adjust time by" documented) |
||
| Line 38: | Line 38: | ||
By default, month names from the system locale are used. | 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. | |||
|} | |} | ||
[[Category:ReNamer]] | [[Category:ReNamer]] | ||
Revision as of 23:05, 6 January 2021
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. |
