Skip to content

CLI: "schedule" command output displays Starts Next time in cron format for PM values #2579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nadzeyav opened this issue Jun 22, 2022 · 0 comments · Fixed by #2586
Closed
Assignees

Comments

@nadzeyav
Copy link

coder version:
Coder v0.7.3+153ffc0

While using the schedule commands I have noticed that if Starts At is set to any PM values (like 3:45PM or 15:45) the schedule command output shows it in cron expression, for AM this is HH:mm format, for other fields there is also no issue with any PM values.

Steps:

  1. Open cli
  2. For existing workspace set coder schedule start <workspace-name> 4:20PM

Actual: the output is:

image
(Note for stops next there is no issue to display PM for other properties)

  1. For existing workspace set coder schedule start <workspace-name> 4:20AM
    Output is in normal format
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants