edricchan03/Get date/time

Gets the date and/or time that the action was executed at.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
date-formatA date format that the date command supports. (See http://tldp.org/LDP/abs/html/timedate.html for more info)no
get-last-modified-file-pathThe file path to get the last modified date and time. (Internally adds the `-r` option with the file name specified)no
timezoneThe timezone to be used for the date and time. (Internally specifes the TZ environment variable)no
use-iso-8601-formatWhether to use the ISO 8601 date and time format. (Internally adds the `-I` option to the date command) (Only supported on the Linux version of date)no
use-utc-timezoneWhether to use the UTC timezone. (Internally adds the `-u` option to the date command)no
use-rfc-2822-formatWhether to use the RFC 2822 date and time format. (Internally adds the `-R` option to the date command) (Only supported on the UNIX version of date)no
use-rfc-3339-formatWhether to use the RFC 3339 date and time format. (Internally adds the `-R` option to the date command) (Only supported on the Linux version of date)no
use-rfc-5322-formatWhether to use the RFC 5322 date and time format. (Internally adds the `-R` option to the date command) (Only supported on the Linux version of date)no
namedescription
dateThe current date and time as a string.