[Koha-bugs] [Bug 21105] oai.pl returns invalid earliestDatestamp

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 20 01:38:13 CEST 2021


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

--- Comment #8 from David Cook <dcook at prosentient.com.au> ---
(In reply to Rudolf Byker from comment #6)
> Created attachment 119692 [details] [review]
> New patch. Fixed quote problem and tested.
> 
> Sorry, I did not test the previous patch properly. Here is a new one. I
> tested it this time. It fixes the problem in the XML response, but it stills
> seems to be formatted as YYYY-MM-DD hh:mm:ss instead of YYYY-MM-DDThh:mm:ssZ
> in the browser. Not sure if that's a (separate) bug or a feature.

I think that it would be reasonable to handle it here.

Take a look at ./koha-tmpl/opac-tmpl/xslt/OAI.xslt. You'll see that the
characters T and Z are being stripped out of the datestamps.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list