Difference between revisions of "ReNamer:Rules:ReformatDate"
Jump to navigation
Jump to search
("Adjust time by" documented) |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
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. | ||
+ | |||
+ | Allowed date/time format variables are described in the [[ReNamer:Date and Time format|Date and Time format]] article. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! 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 "''foo'''''1234'''''bar''" 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. | ||
+ | |} | ||
[[Category:ReNamer]] | [[Category:ReNamer]] |
Latest 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. |