This wouldn't be very useful as I use my localized German version.
The action, sorry, is called "Format value" in English.
How to create an action:
/t/967/1
The tag field to perform the action on is
Directory (please select it from the dropdown list)
Enter a mask just like for the converter "Tag - Filename" only that this time it describes the directory and not the file.