Project

General

Profile

Actions

Bug #31705

closed

hammer cli --start-at not honoring iso8601 timezone

Added by Adam Ruzicka almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Difficulty:
Triaged:
No
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 #1

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/617 added
Actions #2

Updated by Adam Ruzicka over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Adam Ruzicka over 3 years ago

  • Fixed in Releases foreman_remote_execution-4.7.0 added
Actions #4

Updated by Adam Ruzicka over 3 years ago

  • Fixed in Releases foreman_remote_execution-4.5.4 added
Actions

Also available in: Atom PDF