4 stable releases
| 1.4.0 | Jun 23, 2022 |
|---|---|
| 1.3.1 | Nov 6, 2021 |
| 1.3.0 |
|
| 1.1.0 | Nov 10, 2019 |
| 1.0.0 | Aug 17, 2019 |
#508 in Date and time
10KB
195 lines
Date Formats Workflow
Date Formats Alfred Workflow for quick DateTime formatting and locale adjustment.
Requirements
N/A
Installation
- Download date-formats-workflow.alfredworkflow from the repo's releases section
- Install in Alfred (double-click)
Usage
By default all date & times are displayed in UTC, however, this is overridable by specifying the
timezone with the ending argument -t,--tz [timezone]; examples shown below.
df nowdisplays various date formats for the current date & time.df [date & time string]the date & time string provided is parsed and date formats for this time displayed. Supported formats include:- ISO8601
- RFC3339
- RFC2822
- yyyy-mm-dd
- yyyy-mm-dd hh:mm:ss
- yyyy-mm-dd hh:mm:ss tz
- Fri Nov 28 12:00:09 2014
- UNIX Timestamp - seconds, millisecond and nanoseconds
- Adding
-t [timezone]or--tz [timezone]to the command will convert the dates to the provided timezone, eg.df now --tz PSTwill display the current time in PST('America/Vancouver' in this case).
Dependencies
~12MB
~164K SLoC