Giter Site home page Giter Site logo

keypirinha-time's Introduction

Keypirinha Time

This is a package that extends the fast keystroke launcher keypirinha (http://keypirinha.com/) with a command to convert and format datetime strings.

Usage

Use the Time: item. (configurable)

If no other input is entered the displayed datetime is the current time. Any input is interpreted as date string (or at least tried to)

Hitting tab after a time is displayed offers timezone to convert the time.

There is also the possibility to start off with a timezone with itemTimezone: (configurable) and do the above (current time or try parse).

Executing any of the suggestions copies the selected item to the clipboard.

Usage

Configuration

It's possible to configure multiple formats and locales in which the time is displayed. See the default configuration file for further information.

Installation

Install Package "Keypirinha-Time"

Manually

  • Download the Time.keypirinha-package from the releases.
  • Copy the file into %APPDATA%\Keypirinha\InstalledPackages (installed mode) or <Keypirinha_Home>\portable\Profile\InstalledPackages (portable mode)

keypirinha-time's People

Contributors

ueffel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

keypirinha-time's Issues

Does not install via PackageControl

I attempted to install this via PackageControl but was greeted with the following in Keypirinha's console:

10:19:50.305 PackageControl.PackageControl: Installed package 'Keypirinha-Time'
10:19:51.833 Python: Traceback (most recent call last):
10:19:51.833 Python:   File "keypirinha_private.py", line 356, in reload_module
10:19:51.833 Python:   File "lib\importlib\__init__.py", line 126, in import_module
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
10:19:51.833 Python:   File "keypirinha_private.py", line 246, in load_module
10:19:51.833 Python:   File "C:\Keypirinha\portable\Profile\InstalledPackages\Time.keypirinha-package\time.py", line 14, in <module>
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 951, in _find_and_load_unlocked
10:19:51.833 Python:   File "<frozen importlib._bootstrap>", line 894, in _find_spec
10:19:51.833 Python:   File "<frozen importlib._bootstrap_external>", line 1157, in find_spec
10:19:51.833 Python:   File "<frozen importlib._bootstrap_external>", line 1131, in _get_spec
10:19:51.834 Python:   File "<frozen importlib._bootstrap_external>", line 1112, in _legacy_get_spec
10:19:51.834 Python:   File "<frozen importlib._bootstrap>", line 441, in spec_from_loader
10:19:51.834 Python:   File "<frozen importlib._bootstrap_external>", line 544, in spec_from_file_location
10:19:51.834 Python: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Keypirinha\\portable\\Profile\\InstalledPackages\\Fakerdata.keypirinha-package'

Time creates some exceptions

Time creates some exceptions. For example entering 123:

time-exceptions

I would have expected typing smaller numbers (including 0) to show me the epoch time (or later).

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.