ReNamer:Rules:ReformatDate: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary |  (Left align the rule image) | ||
| (3 intermediate revisions 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. | ||
| 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 10: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. | 


