Code Monkey home page Code Monkey logo

timezones-alfred's Introduction

TimeZone-Alfred

Do you like Alfred? I like too… I’ve recently found bunch of very nice Workflows. For me, the most used one is for sure Time Zone.

Now compatible with Alfred 4!

The workflow has been created by Mr Carlos from New Zealand and published on the Alfred Forum. I’ve enhanced the workflow by adding a few new functionalities:

  • Converting any time to all pre-defined time zones
  • Enabling 24-hrs time format
  • Displaying phone country code

After all it looks like below:

Preview 1

Conversion of a time in your local time to your pre-defined time-zones – “tz ” in formats HH, HHMM or HH:MM:

Preview 2

Conversion of a time in a timezone from your list (Warsaw in the sample) with modified date (plus 3 days in the sample):

Preview 3

UTC Support

You can add UTC zones: just search the zone using keyword timezone add universal or timezone add coordinated:

Preview 4

Commands

  • Keyword: tz (or hotkey) - bring up the list of saved cities with their respective current times. (Keep typing the name of a place for a one-off lookup.)
  • Keyword: tz [part of city name] - searches for a city in your cities that matches that name and shows the current time.
  • Keyword: tz [time] - (where time is HH, HHMM or HH:MM) - convert provided time into the time of your cities.
  • Keyword: tz [date modifier] [time] - (where time is as above and date modifier is 'today' (short: 't'), or 'tomorrow' (short: 'tm'), or [number of days]d what means to add the number of days to current date, or one of dd, mmdd, yymmdd, yyyymmdd to give an absolute date) - convert provided date and time into time of your cities.
  • Keyword: tz [source city] [date] [time] - (where time and date are as above and source city is used to search in your city list) - assumes that date and time is given in the timezone of provided source city and converts it into time of your (other) cities.
  • Keyword: timezone add [your city] - add your city to the list. (To remove a city, option-select it from the main list.)
  • Keyword: timezone edit - open for edit of cities file.
  • Keyword: timezone move - move the saved cities file (timezones.txt) to a location of your choice (so you can sync it in your Dropbox or whatever you want).
  • Keyword: timezone 12h, timezone 24h - change format of displayed time.
  • Keyword: timezone upgrade - check for a new version

Keyboard shortcuts

  • Option + Enter - remove from the list
  • Command + Enter - pin/unpin the city from the top of the list. mymovie

Installation

  1. Install Alfred
  2. Purchase premium version of Alfred to enable Workflows
  3. Download latest ZIP file from releases
  4. Unzip and double click to add to Alfred

Upgrades

Starting from version 2.50 the workflow uses OneUpdater framework for automatic upgrades.

Every time when invoking 'tz' command, the workflow checks for a new version and downloads if an update found. Automatic check are performed every 7 days.

Manual check can be triggered with timezone upgrade: Upgrade

References

timezones-alfred's People

Contributors

jaroslawhartman avatar ian0371 avatar niladam avatar nevries avatar lincecumhao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.