Skip to content

watson report ignores options.date_format #497

@thmsklngr

Description

@thmsklngr

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. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions