Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.91 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.91 KB

alfred-timeconvertor

An alfred workflow that do time convert, including i18n features.

Workflow file is in the repo's release space, click here.

Input Format

ts (now|<timestamp>|<datetime>[#<timezone>]) [<timezone>]...
# timestamp support second and milisecond
# datetime's format is yyyy-MM-dd hh:mm:ss
# timezone's format is utc[\+|\-][0-9]+(utc, utc8, utc-12 etc.)

Examples

Basic Features

  1. get timestamp and local datetime for now image
  2. convert timestamp to local datetime image
  3. convert local datetime to timestamp image

I18N Features

  1. get timestamp certain timezones' datetime for now image
  2. convert timestamp to certain timezones' datetime image
  3. convert local timezone datetime to other timezones' datetime image
  4. convert certain timezone datetime to timestamp image
  5. convert certain timezone datetime to other timezones' datetime image

Appendix