Skip to content
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

watson report ignores options.date_format #497

Open
thmsklngr opened this issue Mar 3, 2023 · 0 comments
Open

watson report ignores options.date_format #497

thmsklngr opened this issue Mar 3, 2023 · 0 comments

Comments

@thmsklngr
Copy link

Hi,

I like watson even though it's a bit confusing looking for it since it has a similar name like an IBM product. :)

I found an error, which is described pretty fast. I configured a specific date format and when running a report this format is ignored. Example:

$ watson config options.date_format
%d.%m.%Y

$ watson report -f 01.03.2023
Usage: watson report [OPTIONS]
Try 'watson report --help' for help.

Error: Could not match value '01.03.2023' to any supported date format

$watson report -f 2023-03-01
Wed 01 March 2023 -> Fri 03 March 2023

Misc - 4h 00m 00s
	[STWERT  4h 00m 00s]

SVMM - 4h 00m 00s
	[svmm_root_job_ng  4h 00m 00s]

Total: 8h 00m 00s

That's all. If I have time, I may provide a patch for it, otherwise please it yourself, if you're fast. :)

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

No branches or pull requests

1 participant