Skip to content
This repository has been archived by the owner. It is now read-only.

puyt/zazu-utime

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Zazu-utime

A simple timestamp plugin for Zazu, inspired by this Chrome extension.

Usage

Open Zazu and type a timestamp or human-readable date, the plugin will try and translate most of it.

Examples:

  • now
  • today
  • 1487718000
  • the end of next week

For more examples see https://sugarjs.com/dates/#/Parsing

Installing

Add puyt/zazu-utime inside of plugins block of your ~/.zazurc.json file.

{
  "plugins": [
      "puyt/zazu-utime"
  ]
}

Variables

{
  "plugins": [
    {
        "name": "puyt/zazu-utime",
        "variables": {
            "timestampUnit": "milliseconds",
            "outputFormat": "{yyyy}/{MM}/{dd} {HH}:{mm}:{s}"
        }
    }
  ]
}

Screenshots

example1 example2 example3 example4

Acknowledgments

Most of the plugin it's 💪 is coming from Sugarjs

See also

License

MIT

About

Convert unix timestamps to human-readable dates and vice versa for zazu (http://zazuapp.org)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published