MuppetGate / Alfred-Workflows-DateCalculator

Date Calculator workflow for Alfred
42 stars 6 forks source link

Macros not working for setting custom event list #10

Open bhishanpdl opened 6 years ago

bhishanpdl commented 6 years ago

First this workflow does not work until we run fixum workflow. It gives python incompatibility errror.

Can we do this? Can we set the variable fifa = 06.14.18 (that is 2018 June 14), then use other facilities like

dcalc fifa - today d?

Failed commands:
Tried from this.

dcalcset list add fifa 06.14.2018 # invalid command
dcalcset list add fifa 14.06.2018  # invalid command
dcalcset list add fifa 06.14.18 # use four digit year
dcalcset list add 14.06.18 # invalid command

Note:

dcalcshow # gives mm.dd.yy

Info: Alfred v3.6.1 (May 13, 2018) MacOSX High Sierra 10.13 MacBook Pro 13inch

If things do not work, Can we set variables in variables environment directly, or is there a way to give variable name in one of the python scripts in the workflow directory ?