-
-
Save m4r71n/b988322cece3dfb483ee to your computer and use it in GitHub Desktop.
transforms english date format to german date format and adds as entry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Commands] | |
1\Name=Date english -> german | |
1\Match=[0-9]{4}-[0-9]{2}-[0-9]{2} | |
1\Command="copyq eval \"add( str(input()).trim().replace(/([0-9]{4})-([0-9]{2})-([0-9]{2})/, '$3.$2.$1') )\"" | |
1\Separator=\\n | |
1\Input=text/plain | |
1\Automatic=true | |
size=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment