Skip to content

Instantly share code, notes, and snippets.

@srfrnk
Created December 14, 2019 18:10
Show Gist options
  • Save srfrnk/5f6ea23761c136fba7c73281735e754c to your computer and use it in GitHub Desktop.
Save srfrnk/5f6ea23761c136fba7c73281735e754c to your computer and use it in GitHub Desktop.
name: "Current Time 2"
author: "Gerred Dillon <hello@gerred.org>, Shahar Frank<srfrnk@gmail.com>"
description: "Get the current time with format"
branding:
icon: clock
color: blue
inputs:
format:
description: "Time format to use using [MomemtJS syntax](https://momentjs.com/)"
default: "<None>"
outputs:
time:
description: "The time this action was run"
formattedTime:
description: "The time this action was run - formatted using `format` input"
runs:
using: "node12"
main: "index.js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment