https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41306

--- Comment #3 from Jan Kissig <[email protected]> ---
The API though says 
 Begin_Date string<date>
 End_Date string<date>

with example:   
 "Begin_Date": "2022-01-01",
 "End_Date": "2022-03-31",

see:
https://countermetrics.stoplight.io/docs/counter-sushi-api/oyshu9qe9aeof-pr-p1-report-filters
says

Just tested 2 platforms with: begin_date=2025-11 and end_date=2025-11 and the
response always included

"Report_Filters": {
      "Begin_Date": "2025-11-01",
      "End_Date": "2025-11-30"
    },

So they fill up the 'missing' days. When testing the same with
begin_date=2025-12-01 and end_date=2025-12-31 the response remained the same.

In general I think it could be dangerous to limit both dates in the query to
"YYYY-MM" format and maybe it should be allowed to send dates in "YYYY-MM-DD"
or "YYYY-MM" format

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to