lee-dohm / calculate-dates-and-times

Generate a date or time to be used in a later Action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculate Dates and Times

Generate a date or time to be used in a later Action.

Use

Inputs

  • add — An amount and value to add to the current date, ex: 2 days
  • format — A format string correspending to the format function of moment.js
  • subtract — An amount and value to subtract from the current date, ex: 3 weeks

Outputs

  • date — The returned date and time value

License

MIT

About

Generate a date or time to be used in a later Action

License:MIT License


Languages

Language:TypeScript 62.9%Language:Shell 27.8%Language:JavaScript 9.4%