- Clone this repository.
- (Preferably in a virtualenv)
pip install -r requirements.txt && pip install .
- Double-click
Convert Date.alfredworkflow
. - Configure the workflow by filling in the output of
which python3
(in the above virtualenv).
VALUE|'now' [as FORMAT_NAME]
where VALUE
can be:
- an integer: seconds since the epoch
- e.g.
June 8, 2018
- e.g.
2013-03-04 12:04:05
- e.g.
2013/3/4
- etc.
For example,
now as epoch
: convert current datetime as timestamp339850329 as ISO date
: convert this timestamp as ISO date2023-08-02
: convert this ISO date to various formats
command + c
: copy the target value to clipboardenter
: copy and paste the target value to frontmost app
- (Optional)
fzf
: if present, the matching ofas FORMAT_NAME
query becomes fuzzy match