#alfred #workflow #date #time #datetime

app date-formats-workflow

Date Formats Workflow to quickly handle common data formats and conversions

4 stable releases

new 1.4.0 Jun 23, 2022
1.3.1 Nov 6, 2021
1.3.0 Nov 5, 2021
1.1.0 Nov 10, 2019
1.0.0 Aug 17, 2019

#36 in Date and time

Download history 18/week @ 2022-03-14 12/week @ 2022-03-21 3/week @ 2022-04-04 3/week @ 2022-04-11 3/week @ 2022-04-18 9/week @ 2022-04-25 27/week @ 2022-05-02 5/week @ 2022-05-09 52/week @ 2022-05-16 19/week @ 2022-05-23 28/week @ 2022-05-30 13/week @ 2022-06-06 3/week @ 2022-06-13 27/week @ 2022-06-20

78 downloads per month

MIT license

10KB
195 lines

Date Formats Workflow

Date Formats Alfred Workflow for quick DateTime formatting and locale adjustment.

Requirements

N/A

Installation

  1. Download date-formats-workflow.alfredworkflow from the repo's releases section
  2. 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 now displays 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 PST will display the current time in PST('America/Vancouver' in this case).

Dependencies

~5MB
~92K SLoC