Convert unix timestamps to human-readable dates and vice versa for zazu (http://zazuapp.org)
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
libs
src
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json
zazu.json

README.md

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",
            "timestampUnit": "{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