This Alfred workflow converts time in the format of hh:mm:ss
or hh:mm
into a decimal format.
- Convert time format to decimal.
- Copy the result to clipboard with one keystroke.
- Supports both
hh:mm:ss
andhh:mm
formats.
- Enable "Workflow Script Filter" in Features - Universal Actions - Actions
- Select text in
hh:mm:ss
orhh:mm
format. - Activate Alfred Universal Action
- Type the keyword
t2d
. - The converted decimal number is displayed in Alfred's result pane.
- Press Enter to copy the decimal number to the clipboard.
Of course you can also just type or paste your time into Alfred after filtering the script by t2d
keyword.
- Download the workflow file.
- Double-click the downloaded file to import it into Alfred.
- Ensure you have Python 3 installed, as the workflow relies on it.
- Alfred Powerpack
- Python 3
Contributions to the Time to Decimal workflow are welcome. Feel free to fork the repository, make your changes, and submit a pull request.
This workflow is released under the MIT License.
- Thanks to Alfred for the powerful productivity tools.
- This workflow was created by pa1ar.