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

--- Comment #2 from Andrew Isherwood <[email protected]> ---
Created attachment 74640
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74640&action=edit
Bug 20600: API - Format dates according to syspref

Dates supplied by the /api/v1/illrequests API route were not conforming
to the preference specified by the dateformat syspref. This patch
addresses that.

It has been addressed as part of this bug since we are adding filtering
of requests by some date fields and, therefore, needed dates in a
predictable format.

To test:
1) Apply the patch
2) Ensure you have at least one ILL request created
3) Make a request to the /api/v1/illrequests endpoint
4) Observe that dates supplied for "placed" & "updated" conform to your
dateformat syspref.
5) Change your date format syspref, repeat steps 3 & 4

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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