Actions
Bug #31705
closedhammer cli --start-at not honoring iso8601 timezone
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Description
documentation claims iso8601 timezone support with hammer, but it does not.
Job created with below syntax
hammer job-invocation create --job-template "Run Command - SSH Default" --inputs command="/bin/echo this works" --search-query "host_collection ~ test collection" --start-at "2021-01-07T14:05:00-05:00"
Below is the code for remote execution
foreman_remote_execution-3.3.7.2/app/models/job_invocation_composer.rb
...
Time.parse(datetime).strftime('%Y-%m-%d %H:%M')
...
Actions